diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index fefb49e..5554178 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -119,8 +119,10 @@ nmap gu :!git checkout -- % if exists('g:loaded_fugitive') " Interactive `git status` nmap gg :G - " Using fugitive.vim, start a commit and open the message in a new split - nmap gc :G commit + " Start a commit and open the message in a split + nmap gcc :G commit + " Amend the current commit and open the message in a split + nmap gca :G commit --amend " Move to root of directory nmap gcd :Gcd " git blame in scroll bound vertical split (only the commit hashes, see