1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00

vim: improve git shortcuts

This commit is contained in:
bretello 2021-10-01 10:59:30 +02:00
parent cbcc841ba8
commit 9d901364fc
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -57,13 +57,13 @@ nnoremap <leader>k :Rg<CR>
"" Fugitive
nnoremap <leader>/ :0Git<CR>
nnoremap <leader>G :Git<CR>
nnoremap <leader>gd :Git vdiffsplit<CR>
nnoremap <leader>gb :Git blame<CR>
nnoremap <leader>gp :Git push<CR>
nnoremap <leader>gl :vert Git log<CR>
nnoremap <leader>g :Git<Space>
nnoremap <leader>Gd :Gvdiffsplit<CR>
nnoremap <leader>Gb :Git blame<CR>
nnoremap <leader>Gp :Git push<CR>
nnoremap <leader>Gl :vert Git log<CR>
nnoremap <leader>M :Git commit<CR>
nnoremap <leader>gpf :Git push --force-with-lease<CR>
nnoremap <leader>Gpf :Git push --force-with-lease<CR>
"" Gitutter
nnoremap <leader>u :GitGutterBufferToggle<CR>