Home Explore Blog CI



neovim

21th chunk of `runtime/doc/options.txt`
7dc76e5b9ee8e78f5156fa6352bb232237641aa504e1db670000000100000fa0
 operator indents using this algorithm rather than calling an
	external program.
	See |C-indenting|.
	When you don't like the way 'cindent' works, try the 'smartindent'
	option or 'indentexpr'.

						*'cinkeys'* *'cink'*
'cinkeys' 'cink'	string	(default "0{,0},0),0],:,0#,!^F,o,O,e")
			local to buffer
	A list of keys that, when typed in Insert mode, cause reindenting of
	the current line.  Only used if 'cindent' is on and 'indentexpr' is
	empty.
	For the format of this option see |cinkeys-format|.
	See |C-indenting|.

						*'cinoptions'* *'cino'*
'cinoptions' 'cino'	string	(default "")
			local to buffer
	The 'cinoptions' affect the way 'cindent' reindents lines in a C
	program.  See |cinoptions-values| for the values of this option, and
	|C-indenting| for info on C indenting in general.

					*'cinscopedecls'* *'cinsd'*
'cinscopedecls' 'cinsd'	string	(default "public,protected,private")
			local to buffer
	Keywords that are interpreted as a C++ scope declaration by |cino-g|.
	Useful e.g. for working with the Qt framework that defines additional
	scope declarations "signals", "public slots" and "private slots": >vim
		set cinscopedecls+=signals,public\ slots,private\ slots
<

						*'cinwords'* *'cinw'*
'cinwords' 'cinw'	string	(default "if,else,while,do,for,switch")
			local to buffer
	These keywords start an extra indent in the next line when
	'smartindent' or 'cindent' is set.  For 'cindent' this is only done at
	an appropriate place (inside {}).
	Note that 'ignorecase' isn't used for 'cinwords'.  If case doesn't
	matter, include the keyword both the uppercase and lowercase:
	"if,If,IF".

						*'clipboard'* *'cb'*
'clipboard' 'cb'	string	(default "")
			global
	This option is a list of comma-separated names.
	These names are recognized:

						*clipboard-unnamed*
	unnamed		When included, Vim will use the clipboard register "*"
			for all yank, delete, change and put operations which
			would normally go to the unnamed register.  When a
			register is explicitly specified, it will always be
			used regardless of whether "unnamed" is in 'clipboard'
			or not.  The clipboard register can always be
			explicitly accessed using the "* notation.  Also see
			|clipboard|.

						*clipboard-unnamedplus*
	unnamedplus	A variant of the "unnamed" flag which uses the
			clipboard register "+" (|quoteplus|) instead of
			register "*" for all yank, delete, change and put
			operations which would normally go to the unnamed
			register.  When "unnamed" is also included to the
			option, yank and delete operations (but not put)
			will additionally copy the text into register
			"*". See |clipboard|.

						*'cmdheight'* *'ch'*
'cmdheight' 'ch'	number	(default 1)
			global or local to tab page
	Number of screen lines to use for the command-line.  Helps avoiding
	|hit-enter| prompts.
	The value of this option is stored with the tab page, so that each tab
	page can have a different value.

	When 'cmdheight' is zero, there is no command-line unless it is being
	used.  The command-line will cover the last line of the screen when
	shown.

	WARNING: `cmdheight=0` is EXPERIMENTAL. Expect some unwanted behaviour.
	Some 'shortmess' flags and similar mechanism might fail to take effect,
	causing unwanted hit-enter prompts.  Some informative messages, both
	from Nvim itself and plugins, will not be displayed.

						*'cmdwinheight'* *'cwh'*
'cmdwinheight' 'cwh'	number	(default 7)
			global
	Number of screen lines to use for the command-line window. |cmdwin|

						*'colorcolumn'* *'cc'*
'colorcolumn' 'cc'	string	(default "")
			local to window
	'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'. >vim

		set cc=+1	  " highlight column after 'textwidth'
		set cc=+1,+2,+3  " highlight three columns

Title: Vim Options: cinkeys, cinoptions, cinscopedecls, cinwords, clipboard, cmdheight, cmdwinheight, colorcolumn
Summary
This section describes several Vim options related to C indenting, clipboard usage, command-line height, and column highlighting. 'cinkeys' lists keys that trigger reindenting with 'cindent'. 'cinoptions' affects how 'cindent' reindents lines. 'cinscopedecls' defines keywords as C++ scope declarations. 'cinwords' starts an extra indent for 'smartindent' or 'cindent'. 'clipboard' configures clipboard usage, with options for unnamed registers. 'cmdheight' sets the number of lines for the command-line. 'cmdwinheight' sets the height for the command-line window. 'colorcolumn' highlights specific screen columns.