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 <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-03-06 12:54:18 +05:30
parent e4d37e47c9
commit bb77d4748e

View file

@ -261,7 +261,7 @@ nnoremap <Leader>gb :Git branch<SPACE>
nnoremap <Leader>go :Git checkout<SPACE>
nnoremap <Leader>g- :Git stash<CR>:e<CR>
nnoremap <Leader>g+ :Git stash pop<CR>:e<CR>
nnoremap <Leader>gf :exe ':Ggrep ' . expand('<cword>')<CR>
nnoremap <Leader>gG :exe ':Ggrep ' . expand('<cword>')<CR>
nnoremap <Leader>gF :Ggrep<SPACE>
nnoremap <Leader>gg :GGrep<SPACE>
nnoremap <Leader>ml :MergetoolDiffExchangeLeft<CR>
@ -277,7 +277,7 @@ nnoremap <Leader>sh :GitGutterStageHunk<CR>
nnoremap <Leader>uh :GitGutterUndoHunk<CR>
nnoremap <Leader>ph :GitGutterPreviewHunk<CR>
nnoremap <Leader>qh :GitGutterQuickFix<CR>
nnoremap <Leader>hf :GitGutterFold<CR>
nnoremap <Leader>gf :GitGutterFold<CR>
" For Neomake/Neoformat
nnoremap <Leader>nm :Neomake<CR>
nnoremap <Leader>nc :NeomakeClean<CR>
@ -364,9 +364,9 @@ vnoremap <Leader>: :Tabularize /::<CR>
vnoremap <Leader>[ :Tabularize /[<CR>
" Any jump
nnoremap aj :AnyJump<CR>
nnoremap ab :AnyJumpBack<CR>
nnoremap al :AnyJumpLastResults<CR>
nnoremap <Leader>aj :AnyJump<CR>
nnoremap <Leader>ab :AnyJumpBack<CR>
nnoremap <Leader>al :AnyJumpLastResults<CR>
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)