Skip to content

Commit 15edc9a

Browse files
authored
Merge pull request #2180 from h-east/update-builtin
Update builtin.{txt,jax}
2 parents d7c21e8 + 7d92867 commit 15edc9a

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

doc/builtin.jax

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jul 17
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jul 21
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -825,6 +825,7 @@ virtcol2col({winid}, {lnum}, {col})
825825
数値 スクリーン上の文字のバイトインデックス
826826
visualmode([{expr}]) 文字列 最後に使われたビジュアルモード
827827
wildmenumode() 数値 'wildmenu' モードが有効かどうか
828+
wildtrigger() 数値 ワイルドカード展開を開始する
828829
win_execute({id}, {command} [, {silent}])
829830
文字列 ウィンドウ{id}で{command}を実行する
830831
win_findbuf({bufnr}) リスト {bufnr}を含むウィンドウを見つける
@@ -12069,6 +12070,33 @@ wildmenumode() *wildmenumode()*
1206912070
戻り値の型: |Number|
1207012071

1207112072

12073+
wildtrigger() *wildtrigger()*
12074+
コマンドラインでワイルドカードの展開を開始する。'wildmode' お
12075+
よび 'wildoptions' の設定で定義された動作に従う。
12076+
|cmdline-completion| を参照。
12077+
12078+
この関数は、|/|、|?|、|:s|、|:g|、|:v|、|:vimgrep| などの検索
12079+
パターンの補完も有効にする。
12080+
12081+
手動で 'wildchar' を押す場合とは異なり、この関数はマッチするも
12082+
のが見つからない場合でもビープ音を鳴らさず、全体的に静かに動作
12083+
する。そのため、|:autocmd| などから自動的に補完を開始するのに
12084+
適している。
12085+
*cmdline-autocompletion*
12086+
例: コマンドラインで入力中に補完メニューを自動的に表示させるに
12087+
は、以下を使用する: >
12088+
autocmd CmdlineChanged [:/?] call wildtrigger()
12089+
set wildmode=noselect:lastused,full wildoptions=pum
12090+
<
12091+
通常の履歴ナビゲーションを維持するには (上/下キー): >
12092+
cnoremap <Up> <C-U><Up>
12093+
cnoremap <Down> <C-U><Down>
12094+
<
12095+
戻り値は常に 0 である。
12096+
12097+
戻り値の型: |Number|
12098+
12099+
1207212100
win_execute({id}, {command} [, {silent}]) *win_execute()*
1207312101
`execute()` と似ているが、ウィンドウ {id} のコンテキスト内で実
1207412102
行する。

en/builtin.txt

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 17
1+
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -757,6 +757,7 @@ virtcol2col({winid}, {lnum}, {col})
757757
Number byte index of a character on screen
758758
visualmode([{expr}]) String last visual mode used
759759
wildmenumode() Number whether 'wildmenu' mode is active
760+
wildtrigger() Number start wildcard expansion
760761
win_execute({id}, {command} [, {silent}])
761762
String execute {command} in window {id}
762763
win_findbuf({bufnr}) List find windows containing {bufnr}
@@ -12331,6 +12332,33 @@ wildmenumode() *wildmenumode()*
1233112332
Return type: |Number|
1233212333

1233312334

12335+
wildtrigger() *wildtrigger()*
12336+
Start wildcard expansion in the command-line, using the
12337+
behavior defined by the 'wildmode' and 'wildoptions' settings.
12338+
See |cmdline-completion|.
12339+
12340+
This function also enables completion in search patterns such
12341+
as |/|, |?|, |:s|, |:g|, |:v| and |:vimgrep|.
12342+
12343+
Unlike pressing 'wildchar' manually, this function does not
12344+
produce a beep when no matches are found and generally
12345+
operates more quietly. This makes it suitable for triggering
12346+
completion automatically, such as from an |:autocmd|.
12347+
*cmdline-autocompletion*
12348+
Example: To make the completion menu pop up automatically as
12349+
you type on the command line, use: >
12350+
autocmd CmdlineChanged [:/?] call wildtrigger()
12351+
set wildmode=noselect:lastused,full wildoptions=pum
12352+
<
12353+
To retain normal history navigation (up/down keys): >
12354+
cnoremap <Up> <C-U><Up>
12355+
cnoremap <Down> <C-U><Down>
12356+
<
12357+
Return value is always 0.
12358+
12359+
Return type: |Number|
12360+
12361+
1233412362
win_execute({id}, {command} [, {silent}]) *win_execute()*
1233512363
Like `execute()` but in the context of window {id}.
1233612364
The window will temporarily be made the current window,

0 commit comments

Comments
 (0)