0
0
mirror of https://github.com/vim/vim.git synced 2025-08-26 20:03:41 -04:00

runtime(doc): tweak option name notation further

related: #17857
closes: #17917

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi 2025-08-06 17:00:58 +02:00 committed by Christian Brabandt
parent 067adc1ff2
commit bb0860abc9
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
7 changed files with 8 additions and 9 deletions

View File

@ -42,7 +42,7 @@ Detail: The ":filetype on" command will load one of these files:
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
contents of the file. contents of the file.
When the GUI is running or will start soon, the |menu.vim| script is When the GUI is running or will start soon, the |menu.vim| script is
also sourced. See 'go-M' about avoiding that. also sourced. See |'go-M'| about avoiding that.
To add your own file types, see |new-filetype| below. To search for help on a To add your own file types, see |new-filetype| below. To search for help on a
filetype prepend "ft-" and optionally append "-syntax", "-indent" or filetype prepend "ft-" and optionally append "-syntax", "-indent" or

View File

@ -491,7 +491,7 @@ menus and menu items. They are most useful for things that you can't remember
what the key sequence was. what the key sequence was.
For creating menus in a different language, see |:menutrans|. For creating menus in a different language, see |:menutrans|.
If you don't want to use menus at all, see 'go-M'. If you don't want to use menus at all, see |'go-M'|.
*menu.vim* *menu.vim*
The default menus are read from the file "$VIMRUNTIME/menu.vim". See The default menus are read from the file "$VIMRUNTIME/menu.vim". See

View File

@ -1034,7 +1034,7 @@ tag command action in Command-line editing mode ~
|c_CTRL-D| CTRL-D list completions that match the pattern in |c_CTRL-D| CTRL-D list completions that match the pattern in
front of the cursor front of the cursor
|c_CTRL-E| CTRL-E cursor to end of command-line |c_CTRL-E| CTRL-E cursor to end of command-line
'cedit' CTRL-F default value for 'cedit': opens the 'cedit' CTRL-F default value for 'cedit': opens the
command-line window; otherwise not used command-line window; otherwise not used
|c_CTRL-G| CTRL-G next match when 'incsearch' is active |c_CTRL-G| CTRL-G next match when 'incsearch' is active
|c_<BS>| <BS> delete the character in front of the cursor |c_<BS>| <BS> delete the character in front of the cursor

View File

@ -1035,7 +1035,7 @@ A jump table for the options with a short description can be found at |Q_op|.
< Vim will guess the value. In the GUI this should work correctly, < Vim will guess the value. In the GUI this should work correctly,
in other cases Vim might not be able to guess the right value. in other cases Vim might not be able to guess the right value.
If the GUI supports a dark theme, you can use the "d" flag in If the GUI supports a dark theme, you can use the "d" flag in
'guioptions', see 'go-d'. 'guioptions', see |'go-d'|.
When the |t_RB| option is set, Vim will use it to request the background When the |t_RB| option is set, Vim will use it to request the background
color from the terminal. If the returned RGB value is dark/light and color from the terminal. If the returned RGB value is dark/light and
@ -1798,7 +1798,7 @@ A jump table for the options with a short description can be found at |Q_op|.
after that. Therefore do not append an item with += but use ^= to after that. Therefore do not append an item with += but use ^= to
prepend, e.g.: > prepend, e.g.: >
set clipboard^=unnamed set clipboard^=unnamed
< When using the GUI see 'go-A'. < When using the GUI see |'go-A'|.
These names are recognized: These names are recognized:
*clipboard-unnamed* *clipboard-unnamed*
@ -1832,7 +1832,7 @@ A jump table for the options with a short description can be found at |Q_op|.
area extended, Vim tries to become the owner of the area extended, Vim tries to become the owner of the
windowing system's global selection or put the windowing system's global selection or put the
selected text on the clipboard used by the selection selected text on the clipboard used by the selection
register "*. See 'go-a' and |quotestar| for details. register "*. See |'go-a'| and |quotestar| for details.
When the GUI is active, the 'a' flag in 'guioptions' When the GUI is active, the 'a' flag in 'guioptions'
is used, when the GUI is not active, this "autoselect" is used, when the GUI is not active, this "autoselect"
flag is used. flag is used.

View File

@ -231,7 +231,6 @@ writing in Unix mode (":se ff=unix").
Vim sets 'fileformat' automatically when 'fileformats' is not empty (which is Vim sets 'fileformat' automatically when 'fileformats' is not empty (which is
the default), so you don't really have to worry about what you are doing. the default), so you don't really have to worry about what you are doing.
'fileformat' 'fileformats'
If you want to edit a script file or a binary file, you should set the If you want to edit a script file or a binary file, you should set the
'binary' option before loading the file. Script files and binary files may 'binary' option before loading the file. Script files and binary files may

View File

@ -312,7 +312,7 @@ A. You have three possible solutions depending on what you want:
should use this flag only if the application you run doesn't require any should use this flag only if the application you run doesn't require any
input. Otherwise it will get an EOF error because its input stream input. Otherwise it will get an EOF error because its input stream
(stdin) would be redirected to \\.\NUL (stdout and stderr too). (stdin) would be redirected to \\.\NUL (stdout and stderr too).
3) Set the '!' flag in the 'guioptions' option 'go-!'. This will make Vim 3) Set the '!' flag in the 'guioptions' option |'go-!'|. This will make Vim
run the "start" command inside Vims terminal window and not open a run the "start" command inside Vims terminal window and not open a
console window. console window.

View File

@ -64,7 +64,7 @@ directory where the Vim stuff is located. For example, if your syntax files
are in the "/usr/vim/vim82/syntax" directory, set $VIMRUNTIME to are in the "/usr/vim/vim82/syntax" directory, set $VIMRUNTIME to
"/usr/vim/vim82". You must do this in the shell, before starting Vim. "/usr/vim/vim82". You must do this in the shell, before starting Vim.
This command also sources the |menu.vim| script when the GUI is running or This command also sources the |menu.vim| script when the GUI is running or
will start soon. See 'go-M' about avoiding that. will start soon. See |'go-M'| about avoiding that.
*:syn-on* *:syntax-on* *:syn-on* *:syntax-on*
The `:syntax enable` command will keep most of your current color settings. The `:syntax enable` command will keep most of your current color settings.