Mercurial > vim
diff runtime/doc/options.txt @ 2608:7d8af31066c8
Updated runtime files and translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 20 Oct 2010 18:45:33 +0200 |
parents | 2f57d93bdbf6 |
children | 0aa21d63aba0 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2010 Sep 21 +*options.txt* For Vim version 7.3. Last change: 2010 Oct 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1496,6 +1496,25 @@ A jump table for the options with a shor feature} Number of screen lines to use for the command-line window. |cmdwin| + *'colorcolumn'* *'cc'* +'colorcolumn' 'cc' string (default "") + local to window + {not in Vi} + {not available when compiled without the |+syntax| + feature} + 'colorcolumn' is a comma separated list of screen columns that are + highlighted with ColorColumn |hl-ColorColumn|. Useful to align + text. Will make screen redrawing slower. + The screen column can be an absolute number, or a number preceded with + '+' or '-', which is added to or subtracted from 'textwidth'. > + + :set cc=+1 " highlight column after 'textwidth' + :set cc=+1,+2,+3 " highlight three columns after 'textwidth' + :hi ColorColumn ctermbg=lightgrey guibg=lightgrey +< + When 'textwidth' is zero then the items with '-' and '+' are not used. + A maximum of 256 columns are highlighted. + *'columns'* *'co'* *E594* 'columns' 'co' number (default 80 or terminal width) global @@ -4601,25 +4620,6 @@ A jump table for the options with a shor < This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. - *'colorcolumn'* *'cc'* -'colorcolumn' 'cc' string (default "") - local to window - {not in Vi} - {not available when compiled without the |+syntax| - feature} - 'colorcolumn' is a comma separated list of screen columns that are - highlighted with ColorColumn |hl-ColorColumn|. Useful to align - text. Will make screen redrawing slower. - The screen column can be an absolute number, or a number preceded with - '+' or '-', which is added to or subtracted from 'textwidth'. > - - :set cc=+1 " highlight column after 'textwidth' - :set cc=+1,+2,+3 " highlight three columns after 'textwidth' - :hi ColorColumn ctermbg=lightgrey guibg=lightgrey -< - When 'textwidth' is zero then the items with '-' and '+' are not used. - A maximum of 256 columns are highlighted. - *'matchpairs'* *'mps'* 'matchpairs' 'mps' string (default "(:),{:},[:]") local to buffer