Added conditional 80char highlighting in .vimrc
This commit is contained in:
1 parent
69c49144cc
commit
1267c73f56
1 file changed
+1
-2
@@ -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=
|
||||||
|
|||||||
Reference in new issue
Block a user