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
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -1326,20 +1326,19 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
13261326 フィルタは、変数 b:browsefilter を設定することでバッファ毎に設定できる。
13271327b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
13281328するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
1329- 補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するた
1330- めに、以下を追加することができる >
1329+ 補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するに
1330+ は、Windows で最終フィルターとして以下を追加する: >
13311331
13321332 All Files\t(*.*)\t*\n
13331333<
1334- Windows の最終フィルタとして、または >
1334+ または、他のプラットフォームでは以下のようにすると、ユーザーは引き続き必要な
1335+ ファイルにアクセスできるようになる: >
13351336
13361337 All Files\t(*)\t*\n
13371338<
1338- 他のプラットフォームでも、ユーザーが必要なファイルに引き続きアクセスできるよう
1339- にする。
13401339
13411340Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、
1342- has("browsefilter") が使える : >
1341+ has("browsefilter") を使用する : >
13431342
13441343 if has("browsefilter")
13451344 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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1342,15 +1342,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
13421342filetype plugin, so that the browse dialog would contain entries related to
13431343the type of file you are currently editing. Disadvantage: This makes it
13441344difficult 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: >
13461346
13471347 All Files\t(*.*)\t*\n
13481348<
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: >
13501351
13511352 All Files\t(*)\t*\n
13521353<
1353- on other platforms, so that the user can still access any desired file.
13541354
13551355To avoid setting browsefilter when Vim does not actually support it, you can
13561356use has("browsefilter"): >
You can’t perform that action at this time.
0 commit comments