]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Fix my spelling errors when trying to save a file.
authorSimon Ruderich <simon@ruderich.org>
Fri, 17 Oct 2008 15:59:57 +0000 (17:59 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 17 Oct 2008 15:59:57 +0000 (17:59 +0200)
vimrc

diff --git a/vimrc b/vimrc
index a5d20baf9dd91ca2a8ba33cd1fa651dbaa1b9fab..b3a506dd7566768cb61f5eaa178696b503983af3 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -68,6 +68,10 @@ set background=dark
 let mapleader = ","
 let maplocalleader = ","
 
+" I often type "W" instead of "w" when trying to save a file. Fix my mistake.
+cmap W w
+cmap Wq wq
+
 
 " Disable Apple style movements in MacVim.
 if has("gui_macvim")