]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
Fix my spelling errors when trying to save a file.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index a8f944675020e815c8b2d74c0f9c593d3b1dc773..b3a506dd7566768cb61f5eaa178696b503983af3 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -64,6 +64,15 @@ set cursorline
 set background=dark
 
 
+" Use "," as my mapleader.
+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")
     let macvim_skip_cmd_opt_movement = 1