From bb77d4748eea747b0e9120db026d1ab6ced7681c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Fri, 6 Mar 2020 12:54:18 +0530 Subject: [PATCH] nvim: Update key bindings The git gutter fold bindings was slowing down the easymotion h binding. So change it. Also the any jump binding was slowing down the 'a' append binding. Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/init.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index f839dee..7c163df 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -261,7 +261,7 @@ nnoremap gb :Git branch nnoremap go :Git checkout nnoremap g- :Git stash:e nnoremap g+ :Git stash pop:e -nnoremap gf :exe ':Ggrep ' . expand('') +nnoremap gG :exe ':Ggrep ' . expand('') nnoremap gF :Ggrep nnoremap gg :GGrep nnoremap ml :MergetoolDiffExchangeLeft @@ -277,7 +277,7 @@ nnoremap sh :GitGutterStageHunk nnoremap uh :GitGutterUndoHunk nnoremap ph :GitGutterPreviewHunk nnoremap qh :GitGutterQuickFix -nnoremap hf :GitGutterFold +nnoremap gf :GitGutterFold " For Neomake/Neoformat nnoremap nm :Neomake nnoremap nc :NeomakeClean @@ -364,9 +364,9 @@ vnoremap : :Tabularize /:: vnoremap [ :Tabularize /[ " Any jump -nnoremap aj :AnyJump -nnoremap ab :AnyJumpBack -nnoremap al :AnyJumpLastResults +nnoremap aj :AnyJump +nnoremap ab :AnyJumpBack +nnoremap al :AnyJumpLastResults " Start interactive EasyAlign in visual mode (e.g. vipga) xmap ga (EasyAlign)