vim:ftplug:gitcommit: Abbreviate buffer-locally

Abbreviate `cq` only in the current buffer (i.e. the commit message).
This commit is contained in:
2024-10-18 16:11:00 +02:00
parent 890c8526ee
commit 09f9ffbd8e

View File

@@ -16,4 +16,4 @@ let g:gutentags_enabled = 0
" When aborting a commit I usually use :cq which I can't when committing through " When aborting a commit I usually use :cq which I can't when committing through
" fugitive. Abbreviate it to something that works. " fugitive. Abbreviate it to something that works.
cabbrev cq %d <Bar> x cabbrev <buffer> cq %d <Bar> x