]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify expand() for :terminal windows
authorChristian Brabandt <cb@256bit.org>
Wed, 21 Feb 2024 19:40:05 +0000 (20:40 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 21 Feb 2024 19:42:16 +0000 (20:42 +0100)
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>
runtime/doc/builtin.txt
runtime/doc/tags
runtime/doc/terminal.txt
runtime/doc/version9.txt

index 2dc8f615f2ab5d1963c656ad6d6a64de5e4a0384..f1256b027c68d6607e3b295999bdba0c78641a42 100644 (file)
@@ -2540,6 +2540,9 @@ expand({string} [, {nosuf} [, {list}]])                           *expand()*
                for a non-existing file is not included, unless {string} does
                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
                done like for the |cmdline-special| variables with their
                associated modifiers.  Here is a short overview:
index b7e26ee49d50b22dcc502ddf373c741da9640b85..5c2eee33e676c3a34400e4905188df8fdf8b8e75 100644 (file)
@@ -10531,6 +10531,7 @@ termdebug_winbar        terminal.txt    /*termdebug_winbar*
 terminal       terminal.txt    /*terminal*
 terminal-api   terminal.txt    /*terminal-api*
 terminal-autoshelldir  terminal.txt    /*terminal-autoshelldir*
+terminal-bufname       terminal.txt    /*terminal-bufname*
 terminal-client-server terminal.txt    /*terminal-client-server*
 terminal-close terminal.txt    /*terminal-close*
 terminal-colors        os_unix.txt     /*terminal-colors*
index c5331fa8575df3372b301154669f23b5d75a26a1..3720603ff2218e8ed8219f8b80e646b537d45a23 100644 (file)
@@ -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
@@ -208,6 +208,7 @@ Command syntax ~
                        [command].  Use `:execute` if you must have a Vim
                        command following in the same line.
 
+                                                       *terminal-bufname*
                        A new buffer will be created, using [command] or
                        'shell' as the name, prefixed with a "!".  If a buffer
                        by this name already exists a number is added in
index 29dbfb8c53cf506e9b3d72a8dbbbc5f68dd38e81..7b9a3664a03b03d69c7cbebf057fea9112659e7d 100644 (file)
@@ -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
@@ -41578,6 +41578,9 @@ Options: ~
 ==============================================================================
 INCOMPATIBLE CHANGES                           *incompatible-9.2*
 
+Improved/Different MS-Windows mapping support
+|w32-experimental-keycode-trans-strategy|
+
 ==============================================================================
 IMPROVEMENTS                                   *improvements-9.2*