[nvim] add some mappings for quickly manipulating diffs
This commit is contained in:
parent
2e543b7755
commit
11e651e1cb
|
@ -112,6 +112,13 @@ set commentstring=//%s
|
|||
|
||||
nnoremap Q <nop>
|
||||
|
||||
" normal mode
|
||||
nnoremap <leader>dg :.diffget<CR>
|
||||
nnoremap <leader>dp :.diffput<CR>
|
||||
" visual mode
|
||||
xnoremap <leader>dg :diffget<CR>
|
||||
xnoremap <leader>dp :diffput<CR>
|
||||
|
||||
" }}}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue