mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
vim: improve git shortcuts
This commit is contained in:
parent
cbcc841ba8
commit
9d901364fc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user