forked from aniani/vim
runtime(doc): clarify expand() for :terminal windows
While adding to the documentation, also mention the rolled-back key-translation strategy in version9.txt closes: #14069 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -2540,6 +2540,9 @@ expand({string} [, {nosuf} [, {list}]]) *expand()*
|
|||||||
for a non-existing file is not included, unless {string} does
|
for a non-existing file is not included, unless {string} does
|
||||||
not start with '%', '#' or '<', see below.
|
not start with '%', '#' or '<', see below.
|
||||||
|
|
||||||
|
For a |:terminal| window '%' expands to a '!' followed by
|
||||||
|
the command or shell that is run |terminal-bufname|
|
||||||
|
|
||||||
When {string} starts with '%', '#' or '<', the expansion is
|
When {string} starts with '%', '#' or '<', the expansion is
|
||||||
done like for the |cmdline-special| variables with their
|
done like for the |cmdline-special| variables with their
|
||||||
associated modifiers. Here is a short overview:
|
associated modifiers. Here is a short overview:
|
||||||
|
@@ -10531,6 +10531,7 @@ termdebug_winbar terminal.txt /*termdebug_winbar*
|
|||||||
terminal terminal.txt /*terminal*
|
terminal terminal.txt /*terminal*
|
||||||
terminal-api terminal.txt /*terminal-api*
|
terminal-api terminal.txt /*terminal-api*
|
||||||
terminal-autoshelldir terminal.txt /*terminal-autoshelldir*
|
terminal-autoshelldir terminal.txt /*terminal-autoshelldir*
|
||||||
|
terminal-bufname terminal.txt /*terminal-bufname*
|
||||||
terminal-client-server terminal.txt /*terminal-client-server*
|
terminal-client-server terminal.txt /*terminal-client-server*
|
||||||
terminal-close terminal.txt /*terminal-close*
|
terminal-close terminal.txt /*terminal-close*
|
||||||
terminal-colors os_unix.txt /*terminal-colors*
|
terminal-colors os_unix.txt /*terminal-colors*
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*terminal.txt* For Vim version 9.1. Last change: 2023 Nov 08
|
*terminal.txt* For Vim version 9.1. Last change: 2024 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -208,6 +208,7 @@ Command syntax ~
|
|||||||
[command]. Use `:execute` if you must have a Vim
|
[command]. Use `:execute` if you must have a Vim
|
||||||
command following in the same line.
|
command following in the same line.
|
||||||
|
|
||||||
|
*terminal-bufname*
|
||||||
A new buffer will be created, using [command] or
|
A new buffer will be created, using [command] or
|
||||||
'shell' as the name, prefixed with a "!". If a buffer
|
'shell' as the name, prefixed with a "!". If a buffer
|
||||||
by this name already exists a number is added in
|
by this name already exists a number is added in
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*version9.txt* For Vim version 9.1. Last change: 2024 Jan 05
|
*version9.txt* For Vim version 9.1. Last change: 2024 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -41578,6 +41578,9 @@ Options: ~
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
INCOMPATIBLE CHANGES *incompatible-9.2*
|
INCOMPATIBLE CHANGES *incompatible-9.2*
|
||||||
|
|
||||||
|
Improved/Different MS-Windows mapping support
|
||||||
|
|w32-experimental-keycode-trans-strategy|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
IMPROVEMENTS *improvements-9.2*
|
IMPROVEMENTS *improvements-9.2*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user