summaryrefslogtreecommitdiffstats
path: root/runtime/doc/builtin.txt
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-02-21 20:40:05 +0100
committerChristian Brabandt <cb@256bit.org>2024-02-21 20:42:16 +0100
commitec9c32637f566f38d097c566209d85d697182153 (patch)
tree52a03fbb9343d4401e3989ad09c8b274f80e9f6b /runtime/doc/builtin.txt
parent52ecc76c7fa1865603f27bc838efaeaa03cad77c (diff)
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>
Diffstat (limited to 'runtime/doc/builtin.txt')
-rw-r--r--runtime/doc/builtin.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 2dc8f615f2..f1256b027c 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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: