X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=c9d57d0d5a5bf9f3747eda0292bd992fa36bb979;hb=9b55a53d51a88147c6f978931ee8e21a807cd276;hp=77280238d06c7e72a007f8c71fbe31c5275cdb3d;hpb=d46c3a34499ad00e6d23cb1ac369523e7369b766;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 7728023..c9d57d0 100644 --- a/vimrc +++ b/vimrc @@ -44,6 +44,12 @@ set nomodeline " (http://pbrisbin.com:8080/dotfiles/vimrc). set wildmode=list:longest,full +" Increase history of executed commands (:). +set history=1000 + +" Increase number of possible undos. +set undolevels=1000 + " Use strong encryption if possible, also used for swap/undo files. if v:version >= 703 set cryptmethod=blowfish @@ -173,6 +179,7 @@ if has('statusline') " on the right set statusline+=%= " right align + set statusline+=0x%-8B\ " current character under cursor as hex set statusline+=%-12.(%l,%c%V%)\ " line number (%l), " column number (%c), " virtual column number if different @@ -309,6 +316,17 @@ if has('gui_macvim') && has('eval') let macvim_skip_cmd_opt_movement = 1 endif +" In case 'hlsearch' is used disable it with . Thanks to frogonwheels and +" vimgor (bot) in #vim on Freenode (2010-03-30 05:58 CEST). +noremap :nohlsearch + + +" ABBREVIATIONS + +" Fix some of my spelling mistakes. +iabbrev relle reelle +iabbrev reele reelle + " SYNTAX SETTINGS