~garritfra/dotfiles

2e5ee735bff24fdeb5e8da12cbd33edbd8b22590 — Garrit Franke 4 months ago 280d1d7
nvim: add git diff navigation shortcuts
1 files changed, 3 insertions(+), 0 deletions(-)

M .config/nvim/init.vim
M .config/nvim/init.vim => .config/nvim/init.vim +3 -0
@@ 251,6 251,9 @@ nnoremap <leader>gc :Git commit<CR>
nnoremap <leader>ga :Git add .<CR>
nnoremap <leader>gp :Git push<CR>

nnoremap g. :GitGutterNextHunk<CR>
nnoremap g, :GitGutterPrevHunk<CR>

nnoremap k gk
nnoremap j gj