bash vi mode and gitgutter in neovim

This commit is contained in:
Jesper Fussing Mørk 2019-11-04 13:46:01 +01:00
parent 44b97b7ec4
commit b390eabcc3
3 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
# ~/.bashrc # ~/.bashrc
# #
export HISTSIZE=10000 export HISTSIZE=10000
set -o vi
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
@ -158,6 +159,9 @@ export VISUAL="nvim"
#Aliases #Aliases
alias code="cd /home/jfm/Customers/TDC/Code/Onboarding" alias code="cd /home/jfm/Customers/TDC/Code/Onboarding"
alias ops="cd /home/jfm/Customers/TDC/Code/GitLab/ops"
alias onboarding="cd /home/jfm/Customers/TDC/Code/GitLab/onboarding"
alias mst="cd /home/jfm/Customers/TDC/Code/GitLab/onboarding/microservice-tools"
alias dotfiles="cd /home/jfm/Repositories/dotfiles" alias dotfiles="cd /home/jfm/Repositories/dotfiles"
alias tdc="cd /home/jfm/Customers/TDC" alias tdc="cd /home/jfm/Customers/TDC"
@ -175,6 +179,8 @@ alias vpndown="nmcli con down id \"YouSee VPN\""
alias k9t="k9s --context onboarding-test/master-int-liquid-tdk-dk:443/m78311 --command dp" alias k9t="k9s --context onboarding-test/master-int-liquid-tdk-dk:443/m78311 --command dp"
alias k9p="k9s --context onboarding-prod/liquid-tdk-dk:443/m78311 --command dp" alias k9p="k9s --context onboarding-prod/liquid-tdk-dk:443/m78311 --command dp"
alias k9a="k9s --context arn:aws:eks:eu-north-1:273653477426:cluster/onboarding-beta-b --command dp"
alias awslogin="saml2aws login --idp-account nuuday_digital_dev --profile nuuday_digital_dev"
alias dtmux="tmux split-window -h -p 40" alias dtmux="tmux split-window -h -p 40"
alias ptmux="tmux split-window -h -p 40 \; split-window -v -p 25" alias ptmux="tmux split-window -h -p 40 \; split-window -v -p 25"

3
bash/.inputrc Normal file
View File

@ -0,0 +1,3 @@
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[2 q\2C "
set vi-ins-mode-string "\1\e[6 q\2I "

View File

@ -65,6 +65,9 @@ Plug 'janko/vim-test'
" Editing " Editing
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
" Git
Plug 'airblade/vim-gitgutter'
call plug#end() call plug#end()