commit aa857c84b03cdcae2079108bda4f467269411674 parent 31d85e0299dcb58ebde7078462c81f54b34f8ee6 Author: Anders Damsgaard <andersd@riseup.net> Date: Sun, 3 Dec 2017 17:33:41 -0500 Change binding to rewrite commit message to <leader>cc Diffstat:
M | links/.vim/ftplugin/gitcommit.vim | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/links/.vim/ftplugin/gitcommit.vim b/links/.vim/ftplugin/gitcommit.vim @@ -2,8 +2,6 @@ augroup gitcommit_typography setlocal spell spl=en_us setlocal completefunc=emoji#complete - " modify previous commit via git --amend - "nnoremap <buffer> <silent> cd :<C-U>Gcommit --amend --date="$(date)"<CR> - " - nnoremap <buffer> cd :<C-U>Gcommit --amend --date="$(date)"<CR> + " instead modify previous commit with <leader>cc + nnoremap <buffer> <silent> <leader>cc :<C-U>Gcommit --amend --date="$(date)"<CR> augroup END