Home Explore Blog CI



neovim

19th chunk of `runtime/doc/options.txt`
a588ee29599adf744a7b41c2991b65491db0e7c3ba3194f90000000100000fa2
 |:edit|.
							*E676*
	"acwrite" implies that the buffer name is not related to a file, like
	"nofile", but it will be written.  Thus, in contrast to "nofile" and
	"nowrite", ":w" does work and a modified buffer can't be abandoned
	without saving.  For writing there must be matching |BufWriteCmd|,
	|FileWriteCmd| or |FileAppendCmd| autocommands.

						*'casemap'* *'cmp'*
'casemap' 'cmp'		string	(default "internal,keepascii")
			global
	Specifies details about changing the case of letters.  It may contain
	these words, separated by a comma:
	internal	Use internal case mapping functions, the current
			locale does not change the case mapping. When
			"internal" is omitted, the towupper() and towlower()
			system library functions are used when available.
	keepascii	For the ASCII characters (0x00 to 0x7f) use the US
			case mapping, the current locale is not effective.
			This probably only matters for Turkish.

				*'cdhome'* *'cdh'* *'nocdhome'* *'nocdh'*
'cdhome' 'cdh'		boolean	(default off)
			global
	When on, |:cd|, |:tcd| and |:lcd| without an argument changes the
	current working directory to the |$HOME| directory like in Unix.
	When off, those commands just print the current directory name.
	On Unix this option has no effect.
	This option cannot be set from a |modeline| or in the |sandbox|, for
	security reasons.

					*'cdpath'* *'cd'* *E344* *E346*
'cdpath' 'cd'		string	(default equivalent to $CDPATH or ",,")
			global
	This is a list of directories which will be searched when using the
	|:cd|, |:tcd| and |:lcd| commands, provided that the directory being
	searched for has a relative path, not an absolute part starting with
	"/", "./" or "../", the 'cdpath' option is not used then.
	The 'cdpath' option's value has the same form and semantics as
	|'path'|.  Also see |file-searching|.
	The default value is taken from $CDPATH, with a "," prepended to look
	in the current directory first.
	If the default value taken from $CDPATH is not what you want, include
	a modified version of the following command in your vimrc file to
	override it: >vim
	  let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')
<	This option cannot be set from a |modeline| or in the |sandbox|, for
	security reasons.
	(parts of 'cdpath' can be passed to the shell to expand file names).

							*'cedit'*
'cedit'			string	(default CTRL-F)
			global
	The key used in Command-line Mode to open the command-line window.
	Only non-printable keys are allowed.
	The key can be specified as a single character, but it is difficult to
	type.  The preferred way is to use |key-notation| (e.g. <Up>, <C-F>) or
	a letter preceded with a caret (e.g. `^F` is CTRL-F).  Examples: >vim
		set cedit=^Y
		set cedit=<Esc>
<	|Nvi| also has this option, but it only uses the first character.
	See |cmdwin|.

							*'channel'*
'channel'		number	(default 0)
			local to buffer
	|channel| connected to the buffer, or 0 if no channel is connected.
	In a |:terminal| buffer this is the terminal channel.
	Read-only.

				*'charconvert'* *'ccv'* *E202* *E214* *E513*
'charconvert' 'ccv'	string	(default "")
			global
	An expression that is used for character encoding conversion.  It is
	evaluated when a file that is to be read or has been written has a
	different encoding from what is desired.
	'charconvert' is not used when the internal iconv() function is
	supported and is able to do the conversion.  Using iconv() is
	preferred, because it is much faster.
	'charconvert' is not used when reading stdin |--|, because there is no
	file to convert from.  You will have to save the text in a file first.
	The expression must return zero, false or an empty string for success,
	non-zero or true for failure.
	See |encoding-names| for possible encoding names.
	Additionally, names given in 'fileencodings' and 'fileencoding' are
	used.
	Conversion between "latin1", "unicode", "ucs-2", "ucs-4" and "utf-8"
	is done internally by Vim, 'charconvert' is not used for this.
	Also

Title: Vim Options: casemap, cdhome, cdpath, cedit, channel, and charconvert
Summary
This section describes several Vim options, including 'casemap', 'cdhome', 'cdpath', 'cedit', 'channel', and 'charconvert'. 'casemap' configures case conversion, 'cdhome' controls whether the :cd command defaults to the home directory, and 'cdpath' specifies a list of directories to search when using the :cd command with relative paths. 'cedit' defines the key used to open the command-line window, 'channel' shows the channel number that is connected to a buffer and 'charconvert' specifies an expression used for character encoding conversion.