aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/command_typos.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:39:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:39:23 +1300
commit562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e (patch)
tree5190477f5d3e36a7291e9aeddcc7e2e454e5cd78 /vim/plugin/command_typos.vim
parentCheck 'eval' feature for loading command_typos.vim (diff)
downloaddotfiles-562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e.tar.gz
dotfiles-562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e.zip
Use same comment boilerplate for custom plugins
A brief explanation, an author name, and the license should do fine.
Diffstat (limited to 'vim/plugin/command_typos.vim')
-rw-r--r--vim/plugin/command_typos.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/plugin/command_typos.vim b/vim/plugin/command_typos.vim
index 592392ab..32d194fb 100644
--- a/vim/plugin/command_typos.vim
+++ b/vim/plugin/command_typos.vim
@@ -1,6 +1,11 @@
+"
" Tolerate typos like :Wq, :Q, or :Qa and do what I mean, including any
" arguments or modifiers; I fat-finger these commands a lot because I type
" them so rapidly, and they don't correspond to any other commands I use
+"
+" Author: Tom Ryder <tom@sanctum.geek.nz>
+" License: Same as Vim itself
+"
if has('eval') && has('user_commands')
command! -bang -complete=file -nargs=? E e<bang> <args>
command! -bang -complete=file -nargs=? W w<bang> <args>