Permalink
Browse files

Remap common vim command typos. Enable filetype indent

  • Loading branch information...
1 parent 2810e9a commit 6209f021172fd2260d58721837d2c651df8e2eec @zorab47 committed Mar 24, 2010
Showing with 9 additions and 1 deletion.
  1. +9 −1 vimrc
View
10 vimrc
@@ -7,5 +7,13 @@ set nowrap
set modeline
set number
-filetype plugin on
+filetype plugin indent on
syntax on
+
+" Common Command Typos
+command! Q quit " converts ... :Q => :q
+command! W write " converts ... :W => :w
+command! Wq wq " converts ... :Wq => :wq
+command! Wn wn " converts ... :Wn => :wn
+command! WN wN " converts ... :WN => :wN
+

0 comments on commit 6209f02

Please sign in to comment.