Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions doc/editing.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04
*editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 25


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1326,20 +1326,19 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
フィルタは、変数 b:browsefilter を設定することでバッファ毎に設定できる。
b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するた
めに、以下を追加することができる >
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するに
は、Windows で最終フィルターとして以下を追加する: >

All Files\t(*.*)\t*\n
<
Windows の最終フィルタとして、または >
または、他のプラットフォームでは以下のようにすると、ユーザーは引き続き必要な
ファイルにアクセスできるようになる: >

All Files\t(*)\t*\n
<
他のプラットフォームでも、ユーザーが必要なファイルに引き続きアクセスできるよう
にする。

Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、
has("browsefilter") が使える: >
has("browsefilter") を使用する: >

if has("browsefilter")
let g:browsefilter = "whatever"
Expand Down
8 changes: 4 additions & 4 deletions en/editing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim version 9.1. Last change: 2025 Jun 04
*editing.txt* For Vim version 9.1. Last change: 2025 Jun 25


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1342,15 +1342,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
filetype plugin, so that the browse dialog would contain entries related to
the type of file you are currently editing. Disadvantage: This makes it
difficult to start editing a file of a different type. To overcome this, you
may want to add >
can add the following as the final filter on Windows: >

All Files\t(*.*)\t*\n
<
as the final filter on Windows or >
Or the following on other platforms, so that the user can still access any
desired file: >

All Files\t(*)\t*\n
<
on other platforms, so that the user can still access any desired file.

To avoid setting browsefilter when Vim does not actually support it, you can
use has("browsefilter"): >
Expand Down