File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
- *editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04
1
+ *editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 25
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1326,20 +1326,19 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
1326
1326
フィルタは、変数 b:browsefilter を設定することでバッファ毎に設定できる。
1327
1327
b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
1328
1328
するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
1329
- 補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するた
1330
- めに、以下を追加することができる >
1329
+ 補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するに
1330
+ は、Windows で最終フィルターとして以下を追加する: >
1331
1331
1332
1332
All Files\t(*.*)\t*\n
1333
1333
<
1334
- Windows の最終フィルタとして、または >
1334
+ または、他のプラットフォームでは以下のようにすると、ユーザーは引き続き必要な
1335
+ ファイルにアクセスできるようになる: >
1335
1336
1336
1337
All Files\t(*)\t*\n
1337
1338
<
1338
- 他のプラットフォームでも、ユーザーが必要なファイルに引き続きアクセスできるよう
1339
- にする。
1340
1339
1341
1340
Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、
1342
- has("browsefilter") が使える : >
1341
+ has("browsefilter") を使用する : >
1343
1342
1344
1343
if has("browsefilter")
1345
1344
let g:browsefilter = "whatever"
Original file line number Diff line number Diff line change 1
- *editing.txt* For Vim version 9.1. Last change: 2025 Jun 04
1
+ *editing.txt* For Vim version 9.1. Last change: 2025 Jun 25
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1342,15 +1342,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
1342
1342
filetype plugin, so that the browse dialog would contain entries related to
1343
1343
the type of file you are currently editing. Disadvantage: This makes it
1344
1344
difficult to start editing a file of a different type. To overcome this, you
1345
- may want to add >
1345
+ can add the following as the final filter on Windows: >
1346
1346
1347
1347
All Files\t(*.*)\t*\n
1348
1348
<
1349
- as the final filter on Windows or >
1349
+ Or the following on other platforms, so that the user can still access any
1350
+ desired file: >
1350
1351
1351
1352
All Files\t(*)\t*\n
1352
1353
<
1353
- on other platforms, so that the user can still access any desired file.
1354
1354
1355
1355
To avoid setting browsefilter when Vim does not actually support it, you can
1356
1356
use has("browsefilter"): >
You can’t perform that action at this time.
0 commit comments