aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 4acf905..01eff31 100644
--- a/vimrc
+++ b/vimrc
@@ -34,7 +34,7 @@ set colorcolumn=80
" differently from regular Vi. They are highly recommended though.
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
-"set ignorecase " Do case insensitive matching
+set ignorecase " Do case insensitive matching
"set smartcase " Do smart case matching
"set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
@@ -87,6 +87,14 @@ set laststatus=2
" Format the status line
set statusline=\ %{HasPaste()}%F%m%r%h\ \ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l
+""""""""""""""""""""""""""""""
+" => Custom commands
+""""""""""""""""""""""""""""""
+" make 'W' write
+command W w
+command WQ wq
+command Wq wq
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""