Default to tw=0
This commit is contained in:
parent
c7b36e1e5d
commit
8aabc6d93e
1 changed files with 2 additions and 2 deletions
4
vimrc
4
vimrc
|
@ -79,7 +79,7 @@ map <ScrollWheelUp> 3<C-Y>
|
||||||
" set tw=80 cc=73,81
|
" set tw=80 cc=73,81
|
||||||
" Clear the colorcolumn highlighting with cc=0.
|
" Clear the colorcolumn highlighting with cc=0.
|
||||||
set colorcolumn=0
|
set colorcolumn=0
|
||||||
set textwidth=80 " Suggestions: 72, 80, 100
|
set textwidth=0 " Suggestions: 72, 80, 100
|
||||||
|
|
||||||
" All other settings.
|
" All other settings.
|
||||||
set autoindent
|
set autoindent
|
||||||
|
@ -158,7 +158,7 @@ if has('eval')
|
||||||
|
|
||||||
function! ACPToggleMargins()
|
function! ACPToggleMargins()
|
||||||
execute "set colorcolumn=" . (&colorcolumn == "0" ? "73,81" : (&colorcolumn == "73,81" ? "101" : "0"))
|
execute "set colorcolumn=" . (&colorcolumn == "0" ? "73,81" : (&colorcolumn == "73,81" ? "101" : "0"))
|
||||||
execute "set textwidth=" . (&colorcolumn == "101" ? "100" : "80")
|
execute "set textwidth=" . (&colorcolumn == "73,81" ? "80" : (&colorcolumn == "101" ? "100" : "0"))
|
||||||
echo "tw=" . &textwidth . " & cc=" . &colorcolumn
|
echo "tw=" . &textwidth . " & cc=" . &colorcolumn
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue