From a011c44adea8ff5d2ed1e85a84c4972e262dc914 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 22 Nov 2020 16:01:56 +0100 Subject: [PATCH] vim: bind fugitive to g, ack to k --- my_configs.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index c0f4271..f599f04 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -3,6 +3,7 @@ colorscheme twilight256 let g:ale_set_balloons = 1 + set mouse=a relativenumber number foldmethod=indent nofoldenable "without nofoldenable all folds are closed at startup" set foldlevelstart=3 set ttymouse=xterm2 " fix mouse when used in tmux/byobu https://unix.stackexchange.com/q/50733 @@ -146,7 +147,8 @@ nnoremap wz :call WinZoomToggle() nnoremap / :G nnoremap C :close nnoremap B :Bclose -nnoremap G :Git +nnoremap k :Ack +nnoremap g :Git nnoremap gd :Git diff nnoremap gp :Git push nnoremap gpf :Git push --force-with-lease @@ -174,7 +176,6 @@ nmap n :ALEFindReferences nmap h :ALEHover nmap r :ALERename - nmap t :CtrlPTag " Add shortcuts to yank/paste to unnamed/unnamedplus clipboards