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
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パターンに使われる文字は、コマンドラインの種類を表す。
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
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
927927example, "%" stands for the current file name, while CTRL-R % inserts the
928928current 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
931931you 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 | .
13271327Another 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*
13321334The character used for the pattern indicates the type of command-line:
You can’t perform that action at this time.
0 commit comments