aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-23 17:14:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-23 17:20:54 +1200
commitd24a25f7959197361f0ccfd08d5e8308abb6859c (patch)
treed65cbd5d6526905168b46ab47458a54a456d4c09 /vim/plugin
parentHave a little fun with compatible vi (diff)
downloaddotfiles-d24a25f7959197361f0ccfd08d5e8308abb6859c.tar.gz
dotfiles-d24a25f7959197361f0ccfd08d5e8308abb6859c.zip
Add basic homebrew scratch buffer plugin
Thanks to crose in Freenode #vim for a hint about `:help <mods>`.
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/scratch.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/plugin/scratch.vim b/vim/plugin/scratch.vim
new file mode 100644
index 00000000..399f5a31
--- /dev/null
+++ b/vim/plugin/scratch.vim
@@ -0,0 +1,2 @@
+command! -bar -count=0 -nargs=* Scratch
+ \ call scratch#(<q-mods>, <q-count>, <f-args>)