[vim] Show colored column at 80, 89, and 120
Line wrap at 120
This commit is contained in:
parent
7ad97f48ea
commit
5d4a466852
1 changed files with 2 additions and 2 deletions
4
vimrc
4
vimrc
|
|
@ -41,12 +41,12 @@ set wrap " wrap long lines
|
||||||
set linebreak " break at between words
|
set linebreak " break at between words
|
||||||
set textwidth=120 " wrap at 120 characters
|
set textwidth=120 " wrap at 120 characters
|
||||||
set colorcolumn=80,89,120
|
set colorcolumn=80,89,120
|
||||||
" highlight 80th and 120th columns
|
" highlight these columns
|
||||||
set showmatch " show matching things: (), {}, [], etc
|
set showmatch " show matching things: (), {}, [], etc
|
||||||
|
|
||||||
set fo+=n " format numbered lists properly
|
set fo+=n " format numbered lists properly
|
||||||
|
|
||||||
set list
|
set nolist
|
||||||
set lcs+=tab:▸\ " show tabs
|
set lcs+=tab:▸\ " show tabs
|
||||||
set lcs+=eol:¬ " show end-of-lines
|
set lcs+=eol:¬ " show end-of-lines
|
||||||
set lcs+=trail:・ " show trailing spaces
|
set lcs+=trail:・ " show trailing spaces
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue