aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-13 01:45:04 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-13 01:45:04 +1300
commit5099c9956111fb5a3a22036c0af394eea41873f2 (patch)
treea4cd99c000f491765310012a1b3d4774e79c38a3 /vim
parentAdded Tim Pope's eunuch plugin. (diff)
downloaddotfiles-5099c9956111fb5a3a22036c0af394eea41873f2.tar.gz
dotfiles-5099c9956111fb5a3a22036c0af394eea41873f2.zip
Allow args to typos for :W and :E.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 65a31439..0906d48d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -104,9 +104,9 @@ set ttyfast
set visualbell t_vb=
" Typos
-command! -bang E e<bang>
+command! -bang -nargs=? E e<bang> <args>
+command! -bang -nargs=? W w<bang> <args>
command! -bang Q q<bang>
-command! -bang W w<bang>
command! -bang QA qa<bang>
command! -bang Qa qa<bang>
command! -bang Wa wa<bang>