File tree Expand file tree Collapse file tree 2 files changed +72
-2
lines changed Expand file tree Collapse file tree 2 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 1
- *eval.txt* For Vim バージョン 9.1. Last change: 2025 Jan 02
1
+ *eval.txt* For Vim バージョン 9.1. Last change: 2025 Jan 25
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -4764,4 +4764,39 @@ dist#vim9#IsSafeExecutable(filetype:string, executable:string): bool ~
4764
4764
filetype string
4765
4765
executable string
4766
4766
4767
+ *dist#vim9#Open()* *:Open*
4768
+ *g:Openprg*
4769
+ dist#vim9#Open(file: string) ~
4770
+
4771
+ システムのデフォルトハンドラー (macOS の `open ` 、Windows の `explorer.exe ` 、
4772
+ Linux の `xdg- open ` 等) を使用して `path ` を開く。変数 | g:Openprg | が存在する
4773
+ 場合は、代わりに変数で指定された文字列が使用される。
4774
+
4775
+ NOTE: パスのエスケープは自動的に適用される。
4776
+
4777
+ 使用法: >vim
4778
+ :call dist#vim9#Open(<path> )
4779
+ :Open <path>
4780
+ <
4781
+
4782
+ *dist#vim9#Launch()* *:Launch*
4783
+ dist#vim9#Launch(file: string) ~
4784
+
4785
+ 適切なシステムプログラムを使用して <args> を起動する。Vim 内で GUI プログラム
4786
+ を起動することを目的としている。
4787
+
4788
+ NOTE: <args> のエスケープはユーザーに任される
4789
+
4790
+ 例: >vim
4791
+ vim9script
4792
+
4793
+ import autoload 'dist/vim9.vim'
4794
+ # 別の xterm ウィンドウで 'makeprg' を実行する
4795
+ vim9.Launch('xterm ' .. expandcmd(&makeprg))
4796
+ <
4797
+
4798
+ 使用法: >vim
4799
+ :call dist#vim9#Launch(<args> )
4800
+ :Launch <app> <args> .
4801
+ <
4767
4802
vim:tw=78:ts=8:noet:ft=help:norl:
Original file line number Diff line number Diff line change 1
- *eval.txt* For Vim version 9.1. Last change: 2025 Jan 02
1
+ *eval.txt* For Vim version 9.1. Last change: 2025 Jan 25
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4907,5 +4907,40 @@ executable. It takes the following arguments:
4907
4907
filetype string
4908
4908
executable string
4909
4909
4910
+ *dist#vim9#Open()* *:Open*
4911
+ *g:Openprg*
4912
+ dist#vim9#Open(file: string) ~
4913
+
4914
+ Opens `path ` with the system default handler (macOS `open ` , Windows
4915
+ `explorer.exe ` , Linux `xdg- open ` , …). If the variable | g:Openprg | exists the
4916
+ string specified in the variable is used instead.
4917
+
4918
+ NOTE: Escaping of the path is automatically applied.
4919
+
4920
+ Usage: >vim
4921
+ :call dist#vim9#Open(<path> )
4922
+ :Open <path>
4923
+ <
4924
+
4925
+ *dist#vim9#Launch()* *:Launch*
4926
+ dist#vim9#Launch(file: string) ~
4927
+
4928
+ Launches <args> with the appropriate system programs. Intended for launching
4929
+ GUI programs within Vim.
4930
+
4931
+ NOTE: escaping of <args> is left to the user
4932
+
4933
+ Examples: >vim
4934
+ vim9script
4935
+
4936
+ import autoload 'dist/vim9.vim'
4937
+ # Execute 'makeprg' into another xterm window
4938
+ vim9.Launch('xterm ' .. expandcmd(&makeprg))
4939
+ <
4940
+
4941
+ Usage: >vim
4942
+ :call dist#vim9#Launch(<args> )
4943
+ :Launch <app> <args> .
4944
+ <
4910
4945
4911
4946
vim:tw=78:ts=8:noet:ft=help:norl:
You can’t perform that action at this time.
0 commit comments