diff --git a/nvim/plugin/git.vim b/nvim/plugin/git.vim index 54455b3..9c3c0c8 100644 --- a/nvim/plugin/git.vim +++ b/nvim/plugin/git.vim @@ -1,17 +1,21 @@ " mappings {{{ let g:gitgutter_map_keys = 0 - nnoremap gg :G - nnoremap g :Git - nnoremap gs :vertical Git - nnoremap gd :Gdiffsplit - nnoremap gb :Git blame - nnoremap gw :GBrowse - nnoremap gW :.GBrowse - nnoremap gc :Git commit % - nnoremap gC :Git commit --amend - nnoremap gl :Gclog - nnoremap gp :Git push - nnoremap gP :Git push --force-with-lease + nnoremap gg :G + nnoremap g :Git + nnoremap gs :vertical Git + nnoremap gd :Gdiffsplit + nnoremap gb :Git blame + nnoremap gw :GBrowse + nnoremap gW :.GBrowse + nnoremap gc :Git commit % + nnoremap gC :Git commit --amend + nnoremap gl :Gclog + nnoremap gp :Git push + nnoremap gP :Git push --force-with-lease + " Jump to the next/previous change in the diff mode because I replace the + " built-in mappings with coc.nvim's for jumping through diagnostics. + nnoremap [g [c + nnoremap ]g ]c " }}} " Fugitive.vim handlers {{{