File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- *cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Jul 21
1
+ *cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1269,8 +1269,10 @@ Cmdwin イベントを使用してコマンドラインウィンドウ専用の
1269
1269
これはカレントウィンドウで | i_CTRL-N | によって補完を行うよう 'complete' を設定
1270
1270
する。
1271
1271
別の例: >
1272
- :au CmdwinEnter [/?] startinsert
1272
+ :au CmdwinEnter [/\ ?] startinsert
1273
1273
こうすれば、コマンドラインウィンドウではVimは挿入モードに移る。
1274
+ Note: これは | file-pattern | なので、"?" をエスケープする必要がある。
1275
+ | cmdline-autocompletion | も参照。
1274
1276
1275
1277
*cmdwin-char*
1276
1278
パターンに使われる文字は、コマンドラインの種類を表す。
Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -927,7 +927,7 @@ to insert special things while typing you can use the CTRL-R command. For
927
927
example, "%" stands for the current file name, while CTRL-R % inserts the
928
928
current file name right away. See | c_CTRL-R | .
929
929
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
931
931
you may want to use | fnameescape() | . Also see | `= | .
932
932
933
933
@@ -1325,8 +1325,10 @@ Example: >
1325
1325
:au CmdwinLeave : let &cpt = b:cpt_save
1326
1326
This sets 'complete' to use completion in the current window for | i_CTRL-N | .
1327
1327
Another example: >
1328
- :au CmdwinEnter [/?] startinsert
1328
+ :au CmdwinEnter [/\ ?] startinsert
1329
1329
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 | .
1330
1332
1331
1333
*cmdwin-char*
1332
1334
The character used for the pattern indicates the type of command-line:
You can’t perform that action at this time.
0 commit comments