Home Explore Blog CI



neovim

82th chunk of `runtime/doc/options.txt`
58815522d89d07a858d2999024d52a5835e258a3a400b2e10000000100000fa0
 will be escaped with a '^' character.  This makes it possible
	to execute most external commands with cmd.exe.
	This option cannot be set from a |modeline| or in the |sandbox|, for
	security reasons.

						*'shellxquote'* *'sxq'*
'shellxquote' 'sxq'	string	(default "", Windows: "\"")
			global
	Quoting character(s), put around the command passed to the shell, for
	the "!" and ":!" commands.  Includes the redirection.  See
	'shellquote' to exclude the redirection.  It's probably not useful
	to set both options.
	When the value is '(' then ')' is appended. When the value is '"('
	then ')"' is appended.
	When the value is '(' then also see 'shellxescape'.
	This option cannot be set from a |modeline| or in the |sandbox|, for
	security reasons.

			*'shiftround'* *'sr'* *'noshiftround'* *'nosr'*
'shiftround' 'sr'	boolean	(default off)
			global
	Round indent to multiple of 'shiftwidth'.  Applies to > and <
	commands.  CTRL-T and CTRL-D in Insert mode always round the indent to
	a multiple of 'shiftwidth' (this is Vi compatible).

						*'shiftwidth'* *'sw'*
'shiftwidth' 'sw'	number	(default 8)
			local to buffer
	Number of columns that make up one level of (auto)indentation.  Used
	by |'cindent'|, |<<|, |>>|, etc.
	If set to 0, Vim uses the current 'tabstop' value.  Use |shiftwidth()|
	to obtain the effective value in scripts.

					*'shortmess'* *'shm'* *E1336*
'shortmess' 'shm'	string	(default "ltToOCF")
			global
	This option helps to avoid all the |hit-enter| prompts caused by file
	messages, for example with CTRL-G, and to avoid some other messages.
	It is a list of flags:
	 flag	meaning when present	~
	  l	use "999L, 888B" instead of "999 lines, 888 bytes"	*shm-l*
	  m	use "[+]" instead of "[Modified]"			*shm-m*
	  r	use "[RO]" instead of "[readonly]"			*shm-r*
	  w	use "[w]" instead of "written" for file write message	*shm-w*
		and "[a]" instead of "appended" for ':w >> file' command
	  a	all of the above abbreviations				*shm-a*

	  o	overwrite message for writing a file with subsequent	*shm-o*
		message for reading a file (useful for ":wn" or when
		'autowrite' on)
	  O	message for reading a file overwrites any previous	*shm-O*
		message;  also for quickfix message (e.g., ":cn")
	  s	don't give "search hit BOTTOM, continuing at TOP" or	*shm-s*
		"search hit TOP, continuing at BOTTOM" messages; when using
		the search count do not show "W" before the count message
		(see |shm-S| below)
	  t	truncate file message at the start if it is too long	*shm-t*
		to fit on the command-line, "<" will appear in the left most
		column; ignored in Ex mode
	  T	truncate other messages in the middle if they are too	*shm-T*
		long to fit on the command line; "..." will appear in the
		middle; ignored in Ex mode
	  W	don't give "written" or "[w]" when writing a file	*shm-W*
	  A	don't give the "ATTENTION" message when an existing	*shm-A*
		swap file is found
	  I	don't give the intro message when starting Vim,		*shm-I*
		see |:intro|
	  c	don't give |ins-completion-menu| messages; for		*shm-c*
		example, "-- XXX completion (YYY)", "match 1 of 2", "The only
		match", "Pattern not found", "Back at original", etc.
	  C	don't give messages while scanning for ins-completion	*shm-C*
		items, for instance "scanning tags"
	  q	do not show "recording @a" when recording a macro	*shm-q*
	  F	don't give the file info when editing a file, like	*shm-F*
		`:silent` was used for the command; note that this also
		affects messages from 'autoread' reloading
	  S	do not show search count message when searching, e.g.	*shm-S*
		"[1/5]". When the "S" flag is not present (e.g. search count
		is shown), the "search hit BOTTOM, continuing at TOP" and
		"search hit TOP, continuing at BOTTOM" messages are only
		indicated by a "W" (Mnemonic: Wrapped) letter before the
		search count statistics.

	This gives you the opportunity to avoid that a change between buffers
	requires you to hit <Enter>, but still gives as useful a message as
	possible for the space available.

Title: Vim Options: 'shellxquote', 'shiftround', 'shiftwidth', and 'shortmess'
Summary
This section describes Vim options for shell command quoting, indentation, and message display. It details 'shellxquote', which defines characters to quote shell commands; 'shiftround', which rounds indentation to multiples of 'shiftwidth'; 'shiftwidth', which sets the number of columns for indentation levels; and 'shortmess', which customizes the verbosity of Vim's messages.