Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vimrc at work

  • Loading branch information...
commit 361fdf96cdc52aa15344121c1bef221bad82f480 1 parent 1930d82
@hanzhixing authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 vimrc
10 vimrc
@@ -88,10 +88,12 @@ else
colorscheme evening
-" Highlight where it is over 79 columns
-" this 2 lines must be located below 'syntax on', 'guifont', 'colorschem'
-highlight OverLength ctermbg=darkred ctermfg=white guibg=#666666
-match OverLength /\%79v.*/
+" Highlight where it is over line limit
+" this 4 lines must be located after 'syntax on', 'guifont', 'colorschem'
+highlight OverLineLimit81 ctermbg=darkred ctermfg=white guibg=#444444
+highlight OverLineLimit121 ctermbg=darkred ctermfg=white guibg=#888888
+match OverLineLimit81 /\%81v.*/
+match OverLineLimit121 /\%121v.*/
" Set the default size of the window
" if has("unix")
Please sign in to comment.
Something went wrong with that request. Please try again.