File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- *editing.txt* For Vim バージョン 9.1. Last change: 2023 Sep 27
1
+ *editing.txt* For Vim バージョン 9.1. Last change: 2024 Jan 14
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1316,8 +1316,9 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
1316
1316
b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
1317
1317
するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
1318
1318
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。対策は、フィルタ
1319
- の最後の項目に "All Files\t*.*\n" を加え、ユーザーが望みのファイルにアクセスで
1320
- きる道を残すことだ。
1319
+ の最後の項目に Windows では "All Files (*.*)\t*\n" を、他のプラットフォームで
1320
+ は "All Files (*)\t*\n" を加え、ユーザーが望みのファイルにアクセスできる道を残
1321
+ すことだ。
1321
1322
1322
1323
Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、
1323
1324
has("browsefilter") が使える: >
Original file line number Diff line number Diff line change 1
- *editing.txt* For Vim version 9.1. Last change: 2023 Sep 27
1
+ *editing.txt* For Vim version 9.1. Last change: 2024 Jan 14
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1329,8 +1329,9 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
1329
1329
filetype plugin, so that the browse dialog would contain entries related to
1330
1330
the type of file you are currently editing. Disadvantage: This makes it
1331
1331
difficult to start editing a file of a different type. To overcome this, you
1332
- may want to add "All Files\t*.*\n" as the final filter, so that the user can
1333
- still access any desired file.
1332
+ may want to add "All Files (*.*)\t*\n" as the final filter on Windows or "All
1333
+ Files (*)\t*\n" on other platforms, so that the user can still access any
1334
+ desired file.
1334
1335
1335
1336
To avoid setting browsefilter when Vim does not actually support it, you can
1336
1337
use has("browsefilter"): >
You can’t perform that action at this time.
0 commit comments