Skip to content

Commit

Permalink
vimrc at work
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhixing committed Jan 3, 2013
1 parent 1930d82 commit 361fdf9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions vimrc
Expand Up @@ -88,10 +88,12 @@ else
colorscheme evening
endif

" 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")
Expand Down

0 comments on commit 361fdf9

Please sign in to comment.