diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2015-11-10 13:00:48 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2015-11-27 02:32:50 +0100 |
| commit | de962a6d97282a3f90f5c697e309c33d1b37cebd (patch) | |
| tree | 2fcb5d96f1d4303d942a89365f54b339222dff39 /vimrc | |
| parent | b143751f75f5afafd7620b162e5b7b548861b47c (diff) | |
| download | dotfiles-de962a6d97282a3f90f5c697e309c33d1b37cebd.tar.gz dotfiles-de962a6d97282a3f90f5c697e309c33d1b37cebd.zip | |
vim: make 'W' write
and enable case insensitive Search
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 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
