nvim: Fix mapping for diff section jumps
Do not conflict with paragraph motion mapping. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
caf6f81318
commit
a05099b6bb
1 changed files with 2 additions and 2 deletions
|
@ -285,8 +285,8 @@ omap ah <Plug>(GitGutterTextObjectOuterPending)
|
|||
xmap ih <Plug>(GitGutterTextObjectInnerVisual)
|
||||
xmap ah <Plug>(GitGutterTextObjectOuterVisual)
|
||||
" Jump to sections of diff
|
||||
nnoremap { ?^@@<CR>
|
||||
nnoremap } /^@@<CR>
|
||||
nnoremap [d ?^@@<CR>
|
||||
nnoremap ]d /^@@<CR>
|
||||
" For Neomake/Neoformat
|
||||
nnoremap <Leader>nm :Neomake<CR>
|
||||
nnoremap <Leader>nc :NeomakeClean<CR>
|
||||
|
|
Loading…
Reference in a new issue