From 09f9ffbd8eb802d11727a3ec9a6e4aa155363278 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 18 Oct 2024 16:11:00 +0200 Subject: [PATCH] vim:ftplug:gitcommit: Abbreviate buffer-locally Abbreviate `cq` only in the current buffer (i.e. the commit message). --- .config/vim/ftplugin/gitcommit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/vim/ftplugin/gitcommit.vim b/.config/vim/ftplugin/gitcommit.vim index 4e219aa..3323649 100644 --- a/.config/vim/ftplugin/gitcommit.vim +++ b/.config/vim/ftplugin/gitcommit.vim @@ -16,4 +16,4 @@ let g:gutentags_enabled = 0 " When aborting a commit I usually use :cq which I can't when committing through " fugitive. Abbreviate it to something that works. -cabbrev cq %d x +cabbrev cq %d x