File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1
- *eval.txt* For Vim バージョン 9.1. Last change: 2025 Jan 25
1
+ *eval.txt* For Vim バージョン 9.1. Last change: 2025 Jan 29
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -4765,13 +4765,25 @@ dist#vim9#IsSafeExecutable(filetype:string, executable:string): bool ~
4765
4765
executable string
4766
4766
4767
4767
*dist#vim9#Open()* *:Open*
4768
- *g:Openprg*
4768
+ *g:Openprg* *gx*
4769
4769
dist#vim9#Open(file: string) ~
4770
4770
4771
4771
システムのデフォルトハンドラー (macOS の `open ` 、Windows の `explorer.exe ` 、
4772
4772
Linux の `xdg- open ` 等) を使用して `path ` を開く。変数 | g:Openprg | が存在する
4773
4773
場合は、代わりに変数で指定された文字列が使用される。
4774
4774
4775
+ この関数は、デフォルトでは gx マッピングを使用して呼び出される。ビジュアルモー
4776
+ ドでは、視覚的に選択されたテキストを開こうとする。
4777
+
4778
+ 関連設定変数:
4779
+ `g: gx_word ` : gx がカーソルの下のテキストを取得する方法を制御する。下位互換性の
4780
+ ために、`g: netrw_gx ` をフォールバックとして使用する。(デフォルト:
4781
+ `<cfile> ` )
4782
+
4783
+ `g: nogx ` : gx マッピングを無効にする。下位互換性のために `g: netrw_nogx ` をフォー
4784
+ ルバックとして使用する。(デフォルト: `unset` )
4785
+
4786
+
4775
4787
NOTE: パスのエスケープは自動的に適用される。
4776
4788
4777
4789
使用法: >vim
Original file line number Diff line number Diff line change 1
- *eval.txt* For Vim version 9.1. Last change: 2025 Jan 25
1
+ *eval.txt* For Vim version 9.1. Last change: 2025 Jan 29
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4908,13 +4908,25 @@ executable. It takes the following arguments:
4908
4908
executable string
4909
4909
4910
4910
*dist#vim9#Open()* *:Open*
4911
- *g:Openprg*
4911
+ *g:Openprg* *gx*
4912
4912
dist#vim9#Open(file: string) ~
4913
4913
4914
4914
Opens `path ` with the system default handler (macOS `open ` , Windows
4915
4915
`explorer.exe ` , Linux `xdg- open ` , …). If the variable | g:Openprg | exists the
4916
4916
string specified in the variable is used instead.
4917
4917
4918
+ This function is by default called using the gx mapping. In visual mode
4919
+ tries to open the visually selected text.
4920
+
4921
+ Associated setting variables:
4922
+ `g: gx_word ` : control how gx picks up the text under the cursor. Uses
4923
+ `g: netrw_gx ` as a fallback for backward compatibility.
4924
+ (default: `<cfile> ` )
4925
+
4926
+ `g: nogx ` : disables the gx mapping. Uses `g: netrw_nogx ` as a fallback for
4927
+ backward compatibility. (default: `unset` )
4928
+
4929
+
4918
4930
NOTE: Escaping of the path is automatically applied.
4919
4931
4920
4932
Usage: >vim
You can’t perform that action at this time.
0 commit comments