nvim: after/plugin/fugitive: Update gd/D mappings to use difftool

This commit is contained in:
Sanchayan Maity 2022-11-04 10:56:26 +05:30
parent ac6a09238e
commit 8d9d230c18
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ nnoremap <Leader>gb :keepalt Git branch -a<CR>
nnoremap <Leader>gB :keepalt Git branch<SPACE>
nnoremap <Leader>gc :Git checkout -b<SPACE>
nnoremap <Leader>gC :Git checkout<SPACE>
nnoremap <Leader>gd :Gtabedit<Bar>Git diff %<Bar>only<CR>
nnoremap <Leader>gD :Gtabedit<Bar>Git diff<Bar>only<CR>
nnoremap <Leader>gd :Git difftool<CR>
nnoremap <Leader>gD :Git difftool -y<CR>
nnoremap <Leader>ge :sp<CR>:Gedit HEAD~:%<Left><Left>
nnoremap <Leader>gE :sp<CR>:Gedit :%:p<Left><Left><Left><Left>
nnoremap <Leader>gf :Git fetch --all --tags -f<CR>