nvim: Update bindings for GitGutter

Using u prefix bindings was resulting in delay for 'undo'.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-28 19:13:18 +05:30
parent 293077d749
commit 7d4f8818c9

View file

@ -272,11 +272,11 @@ nnoremap <Leader>gg :GGrep<SPACE>
" For gitgutter " For gitgutter
nnoremap ]h :GitGutterNextHunk<CR> nnoremap ]h :GitGutterNextHunk<CR>
nnoremap [h :GitGutterPrevHunk<CR> nnoremap [h :GitGutterPrevHunk<CR>
nnoremap us :GitGutterStageHunk<CR> nnoremap <Leader>sh :GitGutterStageHunk<CR>
nnoremap ud :GitGutterUndoHunk<CR> nnoremap <Leader>uh :GitGutterUndoHunk<CR>
nnoremap ur :GitGutterPreviewHunk<CR> nnoremap <Leader>ph :GitGutterPreviewHunk<CR>
nnoremap uq :GitGutterQuickFix<CR> nnoremap <Leader>qh :GitGutterQuickFix<CR>
nnoremap uf :GitGutterFold<CR> nnoremap <Leader>fh :GitGutterFold<CR>
" For Neomake/Neoformat " For Neomake/Neoformat
nnoremap nm :Neomake<CR> nnoremap nm :Neomake<CR>
nnoremap nc :NeomakeClean<CR> nnoremap nc :NeomakeClean<CR>