diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index 93c26b5..749c3e3 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -109,7 +109,7 @@ nnoremap gp '`[' . strpart(getregtype(), 0, 1) . '`]' " Mnemonic: "git reference commit" " NOTE: This uses `system` and not `:r!` to insert the text directly at the " cursor. `subject[:-2]` cuts off the trailing newline. -nmap grc :let subject=system('git show -s --format="(\"%s\")" ')ea =subject[:-2] +nmap grc :let subject=system('git show -s --format="(\"%s\")" ')viwa =subject[:-2] " Insert a Signed-off-by trailer nmap gso :r!git config --get user.name:r!git config --get user.emailI<A>kJISigned-off-by: