diff options
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
