mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
vim: improve fugitive/gitgutter shortcuts
This commit is contained in:
parent
f1454a95f7
commit
40540908e0
|
@ -59,8 +59,8 @@ nnoremap <leader>B :Bclose<CR>
|
|||
nnoremap <leader>k :Rg<CR>
|
||||
|
||||
"" Fugitive
|
||||
nnoremap <leader>/ :0Git<CR>
|
||||
nnoremap <leader>g :Git<Space>
|
||||
nnoremap <leader>/ :Git<CR>
|
||||
nnoremap <leader>\ :0Git<CR>
|
||||
nnoremap <leader>Gd :Gvdiffsplit<CR>
|
||||
nnoremap <leader>Gb :Git blame<CR>
|
||||
nnoremap <leader>Gp :Git push<CR>
|
||||
|
@ -71,8 +71,9 @@ nnoremap <leader>Gpf :Git push --force-with-lease<CR>
|
|||
"" Gitutter
|
||||
nnoremap <leader>u :GitGutterBufferToggle<CR>
|
||||
nnoremap <leader>L :GitGutterLineHighlightsToggle<CR>
|
||||
nnoremap <leader>hn :GitGutterNextHunk<CR>
|
||||
nnoremap <leader>hp :GitGutterPrevHunk<CR>
|
||||
nnoremap <leader>gp :GitGutterPrevHunk<CR>
|
||||
nnoremap <leader>gn :GitGutterNextHunk<CR>
|
||||
|
||||
|
||||
"" Coverage Highlight
|
||||
nnoremap <leader>H :HighlightCoverageForAll<CR>
|
||||
|
|
Loading…
Reference in New Issue
Block a user