Home Explore Blog CI



neovim

50th chunk of `runtime/doc/options.txt`
bfa90c88ae9ee793f7926da099b4213a1c85149303c1af320000000100000fa3
 'iconstring' option.
	Only works if the terminal supports setting window icons.

							*'iconstring'*
'iconstring'		string	(default "")
			global
	When this option is not empty, it will be used for the icon text of
	the window.  This happens only when the 'icon' option is on.
	Only works if the terminal supports setting window icon text
	When this option contains printf-style '%' items, they will be
	expanded according to the rules used for 'statusline'.  See
	'titlestring' for example settings.
	This option cannot be set in a modeline when 'modelineexpr' is off.

			*'ignorecase'* *'ic'* *'noignorecase'* *'noic'*
'ignorecase' 'ic'	boolean	(default off)
			global
	Ignore case in search patterns, |cmdline-completion|, when
	searching in the tags file, |expr-==| and for Insert-mode completion
	|ins-completion|.
	Also see 'smartcase' and 'tagcase'.
	Can be overruled by using "\c" or "\C" in the pattern, see
	|/ignorecase|.

						*'iminsert'* *'imi'*
'iminsert' 'imi'	number	(default 0)
			local to buffer
	Specifies whether :lmap or an Input Method (IM) is to be used in
	Insert mode.  Valid values:
		0	:lmap is off and IM is off
		1	:lmap is ON and IM is off
		2	:lmap is off and IM is ON
	To always reset the option to zero when leaving Insert mode with <Esc>
	this can be used: >vim
		inoremap <ESC> <ESC>:set iminsert=0<CR>
<	This makes :lmap and IM turn off automatically when leaving Insert
	mode.
	Note that this option changes when using CTRL-^ in Insert mode
	|i_CTRL-^|.
	The value is set to 1 when setting 'keymap' to a valid keymap name.
	It is also used for the argument of commands like "r" and "f".

						*'imsearch'* *'ims'*
'imsearch' 'ims'	number	(default -1)
			local to buffer
	Specifies whether :lmap or an Input Method (IM) is to be used when
	entering a search pattern.  Valid values:
		-1	the value of 'iminsert' is used, makes it look like
			'iminsert' is also used when typing a search pattern
		0	:lmap is off and IM is off
		1	:lmap is ON and IM is off
		2	:lmap is off and IM is ON
	Note that this option changes when using CTRL-^ in Command-line mode
	|c_CTRL-^|.
	The value is set to 1 when it is not -1 and setting the 'keymap'
	option to a valid keymap name.

						*'inccommand'* *'icm'*
'inccommand' 'icm'	string	(default "nosplit")
			global
	When nonempty, shows the effects of |:substitute|, |:smagic|,
	|:snomagic| and user commands with the |:command-preview| flag as you
	type.

	Possible values:
		nosplit	Shows the effects of a command incrementally in the
			buffer.
		split	Like "nosplit", but also shows partial off-screen
			results in a preview window.

	If the preview for built-in commands is too slow (exceeds
	'redrawtime') then 'inccommand' is automatically disabled until
	|Command-line-mode| is done.

						*'include'* *'inc'*
'include' 'inc'		string	(default "")
			global or local to buffer |global-local|
	Pattern to be used to find an include command.  It is a search
	pattern, just like for the "/" command (See |pattern|).  This option
	is used for the commands "[i", "]I", "[d", etc.
	Normally the 'isfname' option is used to recognize the file name that
	comes after the matched pattern.  But if "\zs" appears in the pattern
	then the text matched from "\zs" to the end, or until "\ze" if it
	appears, is used as the file name.  Use this to include characters
	that are not in 'isfname', such as a space.  You can then use
	'includeexpr' to process the matched text.
	See |option-backslash| about including spaces and backslashes.

						*'includeexpr'* *'inex'*
'includeexpr' 'inex'	string	(default "")
			local to buffer
	Expression to be used to transform the string found with the 'include'
	option to a file name.  Mostly useful to change "." to "/" for Java: >vim
		setlocal includeexpr=substitute(v:fname,'\\.','/','g')
<	The "v:fname" variable will be set to the file name that was detected.
	Note the double backslash: the `:set` command first halves them, then
	one remains in the value, where "\." matches a dot

Title: Options 'ignorecase', 'iminsert', 'imsearch', 'inccommand', 'include', and 'includeexpr'
Summary
This section details several Vim options: 'ignorecase' controls case sensitivity in searches and completions, 'iminsert' manages input methods in insert mode, 'imsearch' configures input methods for search patterns, 'inccommand' previews the effects of commands like ':substitute', 'include' defines a pattern for finding include commands, and 'includeexpr' specifies an expression to transform the matched string to a file name.