From 7e6a515ed14e204fafb3dd6e98f2fb543e64aedd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Jan 2021 16:39:53 +0100 Subject: Update runtime files. --- runtime/doc/cmdline.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'runtime/doc/cmdline.txt') diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index e536dac717..990380f047 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.2. Last change: 2020 Sep 14 +*cmdline.txt* For Vim version 8.2. Last change: 2020 Dec 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -849,6 +849,16 @@ function |expand()|. file name n. See |:oldfiles| or |v:oldfiles| to get the number. *E809* {only when compiled with the |+eval| and |+viminfo| features} +In |Vim9-script| # is used to start a comment, use %% for the alternate file +name: + % Is replaced with the current file name. + %% Is replaced with the alternate file name. *:_%%* *c_%%* + %%n (where n is a number) is replaced with *:_%%0* *:_%%n* + the file name of buffer n. "%%0" is the same as "%%". *c_%%n* + %%% Is replaced with all names in the argument *:_%%%* *c_%%%#* + list concatenated, separated by spaces. + %% 0) is replaced with old *:_%%<* *c_%%<* + file name n. Note that these, except "#