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:
parent
293077d749
commit
7d4f8818c9
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue