Added conditional 80char highlighting in .vimrc

This commit is contained in:
Jonathan Bernard 2010-09-28 16:26:52 -05:00
parent 69c49144cc
commit 1267c73f56

3
.vimrc
View File

@ -17,8 +17,7 @@ inoremap <Nul> <C-x><C-o>
"Highlight lines past 80 characters long
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%80v.\+/
autocmd BufAdd .* match OverLength /\%80v.\+/
noremap <F2> :match OverLength /\%80v.\+/
"disable mouse in terminal
se mouse=