Home Explore Blog CI



neovim

84th chunk of `runtime/doc/options.txt`
475b4aa5397e84d66d7f8b3e30ec1ab067e69aebd78da2e80000000100000fab
 values are:
	  last		Last line of the screen (default).
	  statusline	Status line of the current window.
	  tabline	First line of the screen if 'showtabline' is enabled.
	Setting this option to "statusline" or "tabline" means that these will
	be redrawn whenever the command changes, which can be on every key
	pressed.
	The %S 'statusline' item can be used in 'statusline' or 'tabline' to
	place the text.  Without a custom 'statusline' or 'tabline' it will be
	displayed in a convenient location.

			*'showfulltag'* *'sft'* *'noshowfulltag'* *'nosft'*
'showfulltag' 'sft'	boolean	(default off)
			global
	When completing a word in insert mode (see |ins-completion|) from the
	tags file, show both the tag name and a tidied-up form of the search
	pattern (if there is one) as possible matches.  Thus, if you have
	matched a C function, you can see a template for what arguments are
	required (coding style permitting).
	Note that this doesn't work well together with having "longest" in
	'completeopt', because the completion from the search pattern may not
	match the typed text.

				*'showmatch'* *'sm'* *'noshowmatch'* *'nosm'*
'showmatch' 'sm'	boolean	(default off)
			global
	When a bracket is inserted, briefly jump to the matching one.  The
	jump is only done if the match can be seen on the screen.  The time to
	show the match can be set with 'matchtime'.
	A Beep is given if there is no match (no matter if the match can be
	seen or not).
	When the 'm' flag is not included in 'cpoptions', typing a character
	will immediately move the cursor back to where it belongs.
	See the "sm" field in 'guicursor' for setting the cursor shape and
	blinking when showing the match.
	The 'matchpairs' option can be used to specify the characters to show
	matches for.  'rightleft' and 'revins' are used to look for opposite
	matches.
	Also see the matchparen plugin for highlighting the match when moving
	around |pi_paren.txt|.
	Note: Use of the short form is rated PG.

				*'showmode'* *'smd'* *'noshowmode'* *'nosmd'*
'showmode' 'smd'	boolean	(default on)
			global
	If in Insert, Replace or Visual mode put a message on the last line.
	The |hl-ModeMsg| highlight group determines the highlighting.
	The option has no effect when 'cmdheight' is zero.

						*'showtabline'* *'stal'*
'showtabline' 'stal'	number	(default 1)
			global
	The value of this option specifies when the line with tab page labels
	will be displayed:
		0: never
		1: only if there are at least two tab pages
		2: always
	This is both for the GUI and non-GUI implementation of the tab pages
	line.
	See |tab-page| for more information about tab pages.

						*'sidescroll'* *'ss'*
'sidescroll' 'ss'	number	(default 1)
			global
	The minimal number of columns to scroll horizontally.  Used only when
	the 'wrap' option is off and the cursor is moved off of the screen.
	When it is zero the cursor will be put in the middle of the screen.
	When using a slow terminal set it to a large number or 0.  Not used
	for "zh" and "zl" commands.

					*'sidescrolloff'* *'siso'*
'sidescrolloff' 'siso'	number	(default 0)
			global or local to window |global-local|
	The minimal number of screen columns to keep to the left and to the
	right of the cursor if 'nowrap' is set.  Setting this option to a
	value greater than 0 while having |'sidescroll'| also at a non-zero
	value makes some context visible in the line you are scrolling in
	horizontally (except at beginning of the line).  Setting this option
	to a large value (like 999) has the effect of keeping the cursor
	horizontally centered in the window, as long as one does not come too
	close to the beginning of the line.
	After using the local value, go back the global value with one of
	these two: >vim
		setlocal sidescrolloff<
		setlocal sidescrolloff=-1
<
	Example: Try this together with 'sidescroll' and 'listchars' as
		 in the following example to never allow the cursor to move
		 onto the "extends" character: >vim

		 set nowrap sidescroll=1 listchars=extends:>,precedes:<

Title: Vim Options: 'showfulltag' (continued), 'showmatch', 'showmode', 'showtabline', 'sidescroll', and 'sidescrolloff'
Summary
This section continues describing Vim options, starting with 'showfulltag' and its interaction with 'completeopt'. It then covers 'showmatch', which jumps to matching brackets; 'showmode', which displays the current mode on the last line; 'showtabline', which controls when the tab page line is shown; 'sidescroll', which sets the minimum horizontal scroll distance; and 'sidescrolloff', which keeps a minimum number of columns visible around the cursor when 'nowrap' is set.