Added conditional 80char highlighting in .vimrc
This commit is contained in:
parent
69c49144cc
commit
1267c73f56
3
.vimrc
3
.vimrc
@ -17,8 +17,7 @@ inoremap <Nul> <C-x><C-o>
|
|||||||
|
|
||||||
"Highlight lines past 80 characters long
|
"Highlight lines past 80 characters long
|
||||||
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
|
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
|
||||||
match OverLength /\%80v.\+/
|
noremap <F2> :match OverLength /\%80v.\+/
|
||||||
autocmd BufAdd .* match OverLength /\%80v.\+/
|
|
||||||
|
|
||||||
"disable mouse in terminal
|
"disable mouse in terminal
|
||||||
se mouse=
|
se mouse=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user