aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-24 15:19:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-24 15:19:46 +1200
commita7cfe715ebf20a287c09955e88d2667d6524f91a (patch)
tree4201e92908425addb348469fefcecdde6dcd9b8e /vim
parentRemove arbitrary execution of git rev-parse output (diff)
downloaddotfiles-a7cfe715ebf20a287c09955e88d2667d6524f91a.tar.gz
dotfiles-a7cfe715ebf20a287c09955e88d2667d6524f91a.zip
romainl reminds me I am a public person
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f1d88b3d..bf2c6929 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -369,6 +369,19 @@ set ttimeoutlen=50
" 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
+"
+" <accolade> [12:04:16] tyrmored: man i type :W a hundred times a day
+" <- what does that do?
+" <romainl> nothing
+" <tyrmored> accolade: it's me typing :w wrong; i have commands defined in my
+" .vimrc to translate it
+" <accolade> k :)
+" <tyrmored> (i am not advising you do this)
+" <accolade> I will still hold you responsible if I do!
+" <tyrmored> dammit
+" <tyrmored> this always happens
+" <romainl> tyrmored, you are a public person, you have responsibilities
+"
if has('user_commands')
command! -bang -complete=file -nargs=? E e<bang> <args>
command! -bang -complete=file -nargs=? W w<bang> <args>