aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-11-10 13:00:48 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-11-27 02:32:50 +0100
commitde962a6d97282a3f90f5c697e309c33d1b37cebd (patch)
tree2fcb5d96f1d4303d942a89365f54b339222dff39 /vimrc
parentb143751f75f5afafd7620b162e5b7b548861b47c (diff)
downloaddotfiles-de962a6d97282a3f90f5c697e309c33d1b37cebd.tar.gz
dotfiles-de962a6d97282a3f90f5c697e309c33d1b37cebd.zip
vim: make 'W' write
and enable case insensitive Search
Diffstat (limited to 'vimrc')
-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
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""