[nvim] add some mappings for quickly manipulating diffs

This commit is contained in:
Dmytro Meleshko 2020-12-29 21:20:25 +02:00
parent 2e543b7755
commit 11e651e1cb

View file

@ -112,6 +112,13 @@ set commentstring=//%s
nnoremap Q <nop> 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>
" }}} " }}}