Useful shortcuts in Vim
Main vim shortcuts
Git plugins
Making the best of vim-gitgutter and vim-fugitive.
-
Jump between hunks
]c
[c -
Stage and unstage hunks
<Leader>hs
<Leader>hu -
Add current file
:Gadd % -
Commit
:Gcommit -
Checkout in the buffer
:Gread