Skip to content

Commit cf5b84e

Browse files
committed
Update cmdline.{txt,jax}
1 parent 77aa561 commit cf5b84e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

doc/cmdline.jax

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Jul 21
1+
*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1269,8 +1269,10 @@ Cmdwin イベントを使用してコマンドラインウィンドウ専用の
12691269
これはカレントウィンドウで |i_CTRL-N| によって補完を行うよう 'complete' を設定
12701270
する。
12711271
別の例: >
1272-
:au CmdwinEnter [/?] startinsert
1272+
:au CmdwinEnter [/\?] startinsert
12731273
こうすれば、コマンドラインウィンドウではVimは挿入モードに移る。
1274+
Note: これは |file-pattern| なので、"?" をエスケープする必要がある。
1275+
|cmdline-autocompletion| も参照。
12741276

12751277
*cmdwin-char*
12761278
パターンに使われる文字は、コマンドラインの種類を表す。

en/cmdline.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 9.1. Last change: 2025 Jul 21
1+
*cmdline.txt* For Vim version 9.1. Last change: 2025 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -927,7 +927,7 @@ to insert special things while typing you can use the CTRL-R command. For
927927
example, "%" stands for the current file name, while CTRL-R % inserts the
928928
current file name right away. See |c_CTRL-R|.
929929

930-
Note: If you want to avoid the effects of special characters in a Vim script
930+
Note: If you want to avoid the effects of special characters in a Vim script
931931
you may want to use |fnameescape()|. Also see |`=|.
932932

933933

@@ -1325,8 +1325,10 @@ Example: >
13251325
:au CmdwinLeave : let &cpt = b:cpt_save
13261326
This sets 'complete' to use completion in the current window for |i_CTRL-N|.
13271327
Another example: >
1328-
:au CmdwinEnter [/?] startinsert
1328+
:au CmdwinEnter [/\?] startinsert
13291329
This will make Vim start in Insert mode in the command-line window.
1330+
Note: The "?" needs to be escaped, as this is a |file-pattern|. See also
1331+
|cmdline-autocompletion|.
13301332

13311333
*cmdwin-char*
13321334
The character used for the pattern indicates the type of command-line:

0 commit comments

Comments
 (0)