aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-05-31 18:09:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-05-31 18:10:58 +1200
commit1672dd8d4d41cfce4b2beb70685399a23eaa0956 (patch)
tree48e4ff7620793cfd1abb351d97cce31129c580e6 /vim/plugin
parent307a7ee2f97f472e5ee11e020b753b4290fe5b1b (diff)
downloaddotfiles-1672dd8d4d41cfce4b2beb70685399a23eaa0956.tar.gz
dotfiles-1672dd8d4d41cfce4b2beb70685399a23eaa0956.zip
Spin off command_typos Vim plugin
Renamed as uncap_ex.vim.
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/command_typos.vim45
1 files changed, 0 insertions, 45 deletions
diff --git a/vim/plugin/command_typos.vim b/vim/plugin/command_typos.vim
deleted file mode 100644
index 6f34c680..00000000
--- a/vim/plugin/command_typos.vim
+++ /dev/null
@@ -1,45 +0,0 @@
-"
-" command_typos.vim: 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 exists('g:loaded_command_typos') || &compatible
- finish
-endif
-if !has('user_commands')
- finish
-endif
-let g:loaded_command_typos = 1
-
-" Define commands
-command -bang -complete=file -nargs=?
- \ E
- \ edit<bang> <args>
-command -bang -complete=file -nargs=?
- \ W
- \ write<bang> <args>
-command -bang -complete=file -nargs=?
- \ WQ
- \ wq<bang> <args>
-command -bang -complete=file -nargs=?
- \ Wq
- \ wq<bang> <args>
-command -bang
- \ Q
- \ quit<bang>
-command -bang
- \ Qa
- \ qall<bang>
-command -bang
- \ QA
- \ qall<bang>
-command -bang
- \ Wa
- \ wall<bang>
-command -bang
- \ WA
- \ wa<bang>