Mercurial > vim
diff runtime/doc/builtin.txt @ 34396:b0f19afada63
runtime(doc): clarify expand() for :terminal windows
Commit: https://github.com/vim/vim/commit/ec9c32637f566f38d097c566209d85d697182153
Author: Christian Brabandt <cb@256bit.org>
Date: Wed Feb 21 20:40:05 2024 +0100
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 21 Feb 2024 20:45:03 +0100 |
parents | 42f3769e8a59 |
children | 940c794b6ba7 |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2540,6 +2540,9 @@ expand({string} [, {nosuf} [, {list}]]) 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: