From b390eabcc331ba21970f00219dd9583c2bcfe767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Fussing=20M=C3=B8rk?= Date: Mon, 4 Nov 2019 13:46:01 +0100 Subject: [PATCH] bash vi mode and gitgutter in neovim --- bash/.bashrc | 6 ++++++ bash/.inputrc | 3 +++ neovim/.config/nvim/init.vim | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 bash/.inputrc diff --git a/bash/.bashrc b/bash/.bashrc index 7b21964..935234e 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -2,6 +2,7 @@ # ~/.bashrc # export HISTSIZE=10000 +set -o vi [[ $- != *i* ]] && return @@ -158,6 +159,9 @@ export VISUAL="nvim" #Aliases 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 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 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 ptmux="tmux split-window -h -p 40 \; split-window -v -p 25" diff --git a/bash/.inputrc b/bash/.inputrc new file mode 100644 index 0000000..5f05fda --- /dev/null +++ b/bash/.inputrc @@ -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 " diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index aeed757..e66ed94 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -65,6 +65,9 @@ Plug 'janko/vim-test' " Editing Plug 'tpope/vim-surround' + +" Git +Plug 'airblade/vim-gitgutter' call plug#end()