Skip to content

Update cmdline.{txt,jax} #2238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/cmdline.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Jul 21
*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08


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

*cmdwin-char*
パターンに使われる文字は、コマンドラインの種類を表す。
Expand Down
8 changes: 5 additions & 3 deletions en/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*cmdline.txt* For Vim version 9.1. Last change: 2025 Jul 21
*cmdline.txt* For Vim version 9.1. Last change: 2025 Aug 08


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

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


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

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