Skip to content

Commit

Permalink
fix(vim): use gl instead of g; for diffget //3
Browse files Browse the repository at this point in the history
g; is useful for jumping to last change.
  • Loading branch information
workflow committed Oct 20, 2023
1 parent 44a760b commit 4fee96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ in
nnoremap <leader>gpl :Git! pull<CR>
nnoremap <leader>gpn :Git! push -u origin HEAD<CR>
nnoremap gj :diffget //2<CR>
nnoremap g; :diffget //3<CR>
nnoremap gl :diffget //3<CR>
" Git-gutter
" Use fontawesome icons as signs - stolen from https://github.com/JakobGM/dotfiles/blob/2fdc40ece4b36cf1f5143b5778c171c0859e119f/config/nvim/init.vim#L574-L579
Expand Down

0 comments on commit 4fee96d

Please sign in to comment.