aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-09-18 19:34:02 +0200
committerTeddy Wing2020-09-18 19:39:36 +0200
commit18dacd037f756066a92972687b53d5ce94d2c96b (patch)
tree62aedaf7854a47c70c682ddfd52a1e2d3c830c21
parent901092349a84abfa2b862fd60fa4a51c91a2b3ea (diff)
downloaddotvim-18dacd037f756066a92972687b53d5ce94d2c96b.tar.bz2
plugin/abbreviations.vim: Add cabbrevs for T-prefixed commands
I used to be able to type: :59-63T<Tab><Enter> to comment out a block. Now, since `TBuffer` is earlier alphabetically than `TComment`, the above no longer works. Add two command line abbreviations to make it easier to use these two commands.
-rw-r--r--plugin/abbreviations.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/abbreviations.vim b/plugin/abbreviations.vim
new file mode 100644
index 0000000..58966be
--- /dev/null
+++ b/plugin/abbreviations.vim
@@ -0,0 +1,2 @@
+cabbrev t TComment
+cabbrev tb TBuffer