X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=df56e12ea2133a6ea17ca5c34e8f20725ec973bd;hb=85fea365744e1deda5213e2a900c5bc563350090;hp=0cfc4cb4e5d979df5551e9209ac5193e01d876e2;hpb=ee235b0a49c43d001e5bffddb122465450909df2;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 0cfc4cb..df56e12 100644 --- a/vimrc +++ b/vimrc @@ -614,6 +614,10 @@ if has('eval') endfunction nnoremap t :call UseTabs() endif +" Enable "verbatim" mode. Used to view files with long lines or without syntax +" coloring. +nnoremap v :set nolist nowrap nospell synmaxcol=0 + \ :2match " Make last active window the only window. Similar to o. nnoremap O po @@ -805,7 +809,7 @@ if has('syntax') if exists('*matchadd') " Highlight some important keywords in all documents. - let l:todos = ['TODO', 'XXX', 'FIXME', + let l:todos = ['TODO', 'XXX', 'FIXME', 'NOTE', \ 'CHANGED', 'REMOVED', 'DELETED'] " Compatibility fix for Vim 6.4 which can't handle for in function " (without function it's ignored).