mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21: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>
|
nnoremap <leader>k :Rg<CR>
|
||||||
|
|
||||||
"" Fugitive
|
"" Fugitive
|
||||||
nnoremap <leader>/ :0Git<CR>
|
nnoremap <leader>/ :Git<CR>
|
||||||
nnoremap <leader>g :Git<Space>
|
nnoremap <leader>\ :0Git<CR>
|
||||||
nnoremap <leader>Gd :Gvdiffsplit<CR>
|
nnoremap <leader>Gd :Gvdiffsplit<CR>
|
||||||
nnoremap <leader>Gb :Git blame<CR>
|
nnoremap <leader>Gb :Git blame<CR>
|
||||||
nnoremap <leader>Gp :Git push<CR>
|
nnoremap <leader>Gp :Git push<CR>
|
||||||
|
@ -71,8 +71,9 @@ nnoremap <leader>Gpf :Git push --force-with-lease<CR>
|
||||||
"" Gitutter
|
"" Gitutter
|
||||||
nnoremap <leader>u :GitGutterBufferToggle<CR>
|
nnoremap <leader>u :GitGutterBufferToggle<CR>
|
||||||
nnoremap <leader>L :GitGutterLineHighlightsToggle<CR>
|
nnoremap <leader>L :GitGutterLineHighlightsToggle<CR>
|
||||||
nnoremap <leader>hn :GitGutterNextHunk<CR>
|
nnoremap <leader>gp :GitGutterPrevHunk<CR>
|
||||||
nnoremap <leader>hp :GitGutterPrevHunk<CR>
|
nnoremap <leader>gn :GitGutterNextHunk<CR>
|
||||||
|
|
||||||
|
|
||||||
"" Coverage Highlight
|
"" Coverage Highlight
|
||||||
nnoremap <leader>H :HighlightCoverageForAll<CR>
|
nnoremap <leader>H :HighlightCoverageForAll<CR>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user