vim:keys: Add mapping for git-commit-last-msg

This commit is contained in:
2025-09-17 21:46:43 +02:00
parent f2ce78b6b3
commit 768cb4ed4a

View File

@@ -168,6 +168,8 @@ if exists('g:loaded_fugitive')
nmap <leader>gcc <Cmd>G commit<CR>
" Amend the current commit and open the message in a split
nmap <leader>gca <Cmd>G commit --amend<CR>
" Commit with the last commit message as template
nmap <leader>gclm <Cmd>G commit-last-msg<CR>
" Move to root of directory
nmap <leader>gcd <Cmd>Gcd<CR>
" git blame in scroll bound vertical split (only the commit hashes, see