Skip to content

Commit e23665c

Browse files
authored
Merge pull request #2081 from h-east/update-editing
Update editing.{txt,jax}
2 parents 5ed94e6 + c26617b commit e23665c

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

doc/editing.jax

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim バージョン 9.1. Last change: 2025 Apr 03
1+
*editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1326,10 +1326,17 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
13261326
フィルタは、変数 b:browsefilter を設定することでバッファ毎に設定できる。
13271327
b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
13281328
するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
1329-
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。対策は、フィルタ
1330-
の最後の項目に Windows では "All Files (*.*)\t*\n" を、他のプラットフォームで
1331-
は "All Files (*)\t*\n" を加え、ユーザーが望みのファイルにアクセスできる道を残
1332-
すことだ。
1329+
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するた
1330+
めに、以下を追加することができる >
1331+
1332+
All Files\t(*.*)\t*\n
1333+
<
1334+
Windows の最終フィルタとして、または >
1335+
1336+
All Files\t(*)\t*\n
1337+
<
1338+
他のプラットフォームでも、ユーザーが必要なファイルに引き続きアクセスできるよう
1339+
にする。
13331340

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

en/editing.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 9.1. Last change: 2025 Apr 03
1+
*editing.txt* For Vim version 9.1. Last change: 2025 Jun 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1342,9 +1342,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
13421342
filetype plugin, so that the browse dialog would contain entries related to
13431343
the type of file you are currently editing. Disadvantage: This makes it
13441344
difficult to start editing a file of a different type. To overcome this, you
1345-
may want to add "All Files (*.*)\t*\n" as the final filter on Windows or "All
1346-
Files (*)\t*\n" on other platforms, so that the user can still access any
1347-
desired file.
1345+
may want to add >
1346+
1347+
All Files\t(*.*)\t*\n
1348+
<
1349+
as the final filter on Windows or >
1350+
1351+
All Files\t(*)\t*\n
1352+
<
1353+
on other platforms, so that the user can still access any desired file.
13481354

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

0 commit comments

Comments
 (0)