
VIMRC (configuration file at /etc/vim):
runtime! debian.vim if has("syntax") syntax on endif set ignorecase " Do case insensitive matching set hlsearch set nonu set colorcolumn=64 set history=200 map <F1> :Ex<CR> map <F2> <S-V> map <F3> :%!shuf<CR> map <F4> :%!par 64j <CR> map <F5> :.!xclip -sel clip <CR> map <F6> :%s/”/"/g <CR> map <F7> :%s/“/"/g <CR> map <F8> :%s/‘/'/g <CR> map <F9> :%s/’/'/g <CR> if filereadable("/etc/vim/vimrc.local") source /etc/vim/vimrc.local endif
Dedicated Vim keyboard just for programmers
In vim add a blank line above and below all search matches:
:%s/.\+salvation.\+/\r&\r/g
In #Vim highlight all markup tags in an HTML file:
/<[^>]*>