Skip to content

Commit e170362

Browse files
authored
Merge pull request #2216 from h-east/update-pi_netrw
Update pi_netrw.{txt,jax}
2 parents a21f373 + f1ad6a2 commit e170362

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

doc/pi_netrw.jax

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Netrw を使うとファイルの読み込み、書き込み、ネットワー
122122
set nocp " 'compatible' をオフにする
123123
filetype plugin on " プラグインを有効にする
124124
<
125-
(|'cp'||:filetype-plugin-on|も参照してください)
125+
('cp'|:filetype-plugin-on|も参照してください)
126126

127127
Netrw は url を使うことで他のマシンのファイルを透過的に扱うことができます
128128
(|netrw-transparent|参照)。例えば、別のマシンにアカウントを持っていて、scp が
@@ -653,8 +653,8 @@ ftp でパスワードが必要なときは Vim の組み込み関数 |inputsecr
653653
==============================================================================
654654
5. netrw の有効化 *netrw-activate* {{{1
655655

656-
ネットワークファイル転送は |'nocompatible'| が設定されていればデフォルトで利用
657-
可能です。netrw のスクリプトファイルはシステムのランタイムディレクトリにありま
656+
ネットワークファイル転送は 'nocompatible' が設定されていればデフォルトで利用可
657+
能です。netrw のスクリプトファイルはシステムのランタイムディレクトリにありま
658658
す。Vim の起動時には plugin/netrwPlugin.vim だけが読み込まれます。メインスクリ
659659
プトの autoload/netrw.vim は、実際に netrw が使用されたときに読み込まれます。
660660
次の (最低限の) 設定を <.vimrc> ファイルに書いておくことをお勧めします: >
@@ -1148,7 +1148,7 @@ QUICK HELP *netrw-quickhelp* {{{2
11481148
セッション中で起動されていれば)。
11491149

11501150
".netrwbook" ファイルは netrw (とvim) が起動されていない間ブックマークを保持し
1151-
ます。デフォルトでは |'runtimepath'|の最初のディレクトリに保存されます。
1151+
ます。デフォルトでは 'runtimepath' の最初のディレクトリに保存されます。
11521152

11531153
関連項目:
11541154
|netrw-gb| ブックマークに戻る (移動する)
@@ -1363,7 +1363,7 @@ Note: |netrw-qb| はブックマークと履歴を両方表示します。履歴
13631363
*.netrwhist*
13641364
履歴の量を制御するには |g:netrw_dirhistmax| を参照。".netrwhist" ファイルは
13651365
netrw (と vim) が起動されていない間、履歴を保持します。デフォルトでは
1366-
|'runtimepath'|の最初のディレクトリに保存されます。
1366+
'runtimepath' の最初のディレクトリに保存されます。
13671367

13681368
関連項目:
13691369
|netrw-U| 次のディレクトリに進む
@@ -2346,11 +2346,11 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
23462346

23472347
*g:netrw_alto* 分割ウィンドウを(上ではなく)下に開くようにする
23482348
(|netrw-o| 参照)
2349-
初期設定: =&sb (|'sb'| 参照)
2349+
初期設定: =&sb ('sb' 参照)
23502350

23512351
*g:netrw_altv* 分割ウィンドウを(左ではなく)右に開くようにする
23522352
(|netrw-v| 参照)
2353-
初期設定: =&spr (|'spr'| 参照)
2353+
初期設定: =&spr ('spr' 参照)
23542354

23552355
*g:netrw_banner* バナーの表示を切り替える
23562356
=0: バナーを表示しない
@@ -2429,17 +2429,17 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
24292429
=8 cul U-cuc cul cuc
24302430

24312431
記号の意味
2432-
u-cul : |'cursorline'| のユーザー設定使用
2433-
u-cuc : |'cursorcolumn'| のユーザー設定使用
2434-
U-cul : |'cursorline'| のユーザー設定を使用
2435-
U-cuc : |'cursorcolumn'| のユーザー設定を使用
2436-
cul : |'cursorline'| をローカル設定する
2437-
cuc : |'cursorcolumn'| をローカル設定する
2432+
u-cul : 'cursorline' のユーザー設定使用
2433+
u-cuc : 'cursorcolumn' のユーザー設定使用
2434+
U-cul : 'cursorline' のユーザー設定を使用
2435+
U-cuc : 'cursorcolumn' のユーザー設定を使用
2436+
cul : 'cursorline' をローカル設定する
2437+
cuc : 'cursorcolumn' をローカル設定する
24382438

24392439
初期設定は、netrw を最後に開いたときの
24402440
|g:netrw_cursor| >= 5 または、netrw が最初に
2441-
実行されたときに有効だった |'cuc'| および
2442-
|'cal'| の設定値を意味します。
2441+
実行されたときに有効だった 'cuc' および
2442+
'cal' の設定値を意味します。
24432443

24442444
*g:netrw_decompress* = { '.lz4': 'lz4 -d',
24452445
'.lzo': 'lzop -d',
@@ -2502,7 +2502,7 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
25022502

25032503
*g:netrw_ffkeep* (初期設定: 変数なし)
25042504
この変数が存在して値がゼロなら、netrw は
2505-
|'fileformat'| を保存、復元しない。
2505+
'fileformat' を保存、復元しない。
25062506

25072507
*g:netrw_fname_escape* =' ?&;%'
25082508
リモートで読み/書きするときにファイル名をエス
@@ -2554,7 +2554,7 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
25542554
を保存するホームディレクトリ。
25552555
Netrw は文字列に対して |expand()| を使用しま
25562556
す。
2557-
初期設定: |'runtimepath'| の最初のディレクトリ
2557+
初期設定: 'runtimepath' の最初のディレクトリ
25582558

25592559
*g:netrw_keepdir* =1 (初期設定) カレントディレクトリとブラウジン
25602560
グディレクトリを別にする
@@ -2749,8 +2749,8 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
27492749
netrwTmp : tmp* *tmp
27502750
netrwYacc : *.y
27512751

2752-
加えて、|'suffixes'| で言及されているグループ
2753-
も特別ファイルのハイライトグループに追加されま
2752+
加えて、'suffixes' で言及されているグループも
2753+
特別ファイルのハイライトグループに追加されま
27542754
す。
27552755
これらの構文ハイライトグループは、初期設定では
27562756
netrwGray か Folded へのリンクです。
@@ -2827,8 +2827,8 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
28272827
ウィンドウの行または列の大きさには
28282828
g:netrw_winsize の絶対値が使われる。
28292829
g:netrw_winsize がゼロなら、通常どおりウィン
2830-
ドウが分割される (つまり、例えば
2831-
|'equalalways'| が機能するなど)。
2830+
ドウが分割される (つまり、例えば 'equalalways'
2831+
が機能するなど)。
28322832
初期設定: 50 (50%)
28332833

28342834
*g:netrw_wiw* =1 netrw ウィンドウ/Lexplore ウィンドウを縮小
@@ -2843,10 +2843,10 @@ netrw ブラウザーの各種設定は変数で管理されていて、それ
28432843
=2: 文字数。(Latin a + combining circumflex は
28442844
一文字。タブ文字は 1。CJK文字は全角半角と
28452845
もに 1。...)
2846-
=3: 表示幅 (タブ文字は 1 から |'tabstop'| まで
2847-
の可変幅。CJK文字は全角は 2、その他は 1。
2848-
アラビア文字の alif は、lam が前置されてい
2849-
る場合は 0、そうでなければ 1。...)
2846+
=3: 表示幅 (タブ文字は 1 から 'tabstop' までの
2847+
可変幅。CJK文字は全角は 2、その他は 1。
2848+
ラビア文字の alif は、lam が前置されている
2849+
場合は 0、そうでなければ 1。...)
28502850

28512851
*g:NetrwTopLvlMenu* トップレベルメニューの名前を指定する。初期設定
28522852
は "Netrw."。これを変更したい場合は .vimrc で
@@ -2936,7 +2936,7 @@ netrw を次のように設定すると便利かもしれません: >
29362936
:Lexplore (|netrw-:Lexplore|) や |g:netrw_chgwin| にも
29372937
興味を持つでしょう。
29382938

2939-
参照: |g:netrw_chgwin| |netrw-P| |'previewwindow'| |CTRL-W_z| |:pclose|
2939+
参照: |g:netrw_chgwin| |netrw-P| 'previewwindow' |CTRL-W_z| |:pclose|
29402940

29412941

29422942
☆以前のウィンドウ *netrw-P* *netrw-prvwin* {{{2
@@ -3323,8 +3323,8 @@ netrw#Call("funcname"[,args]) netrw の内部関数を指定の引数で
33233323
によって出力されていて、この表示をなくす方法はありません。
33243324
cmdheight が 1 (初期設定) の場合にこのメッセージによって
33253325
"Press ENTER..." プロンプトが表示されます。|hit-enter| を読ん
3326-
でください。|'cmdheight'| を 2 (かそれ以上) に設定するといいか
3327-
もしれません
3326+
でください。'cmdheight' を 2 (かそれ以上) に設定するといいかも
3327+
しれません
33283328

33293329
*netrw-p10*
33303330
P10. ウィンドウを二分割して、左の細いウィンドウをブラウザー表示に、右 {{{2
@@ -3441,7 +3441,7 @@ netrw#Call("funcname"[,args]) netrw の内部関数を指定の引数で
34413441
実際は最後のバッファだけが残ります。
34423442

34433443
(Lance) .vimrc に書かれた "set autochdir" が原因です。
3444-
(drchip) |'acd'| オプションをセットすると再現できました。
3444+
(drchip) 'acd' オプションをセットすると再現できました。
34453445
バッファが正しく閉じられていないように見えます。
34463446
":ls!" するとそれらの閉じられていないバッファが
34473447
表示されます (":ls" では表示されません)。

en/pi_netrw.txt

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ you'll need to have at least the following in your <.vimrc>:
121121
set nocp " 'compatible' is not set
122122
filetype plugin on " plugins are enabled
123123
<
124-
(see |'cp'| and |:filetype-plugin-on|)
124+
(see 'cp' and |:filetype-plugin-on|)
125125

126126
Netrw supports "transparent" editing of files on other machines using urls
127127
(see |netrw-transparent|). As an example of this, let's assume you have an
@@ -667,7 +667,7 @@ However, |netrw-ssh-hack| can help with this problem.
667667
5. Activation *netrw-activate* {{{1
668668

669669
Network-oriented file transfers are available by default whenever Vim's
670-
|'nocompatible'| mode is enabled. Netrw's script files reside in your
670+
'nocompatible' mode is enabled. Netrw's script files reside in your
671671
system's plugin, autoload, and syntax directories; just the
672672
plugin/netrwPlugin.vim script is sourced automatically whenever you bring up
673673
vim. The main script in autoload/netrw.vim is only loaded when you actually
@@ -1170,7 +1170,7 @@ The :NetrwMB command is available outside of netrw buffers (once netrw has been
11701170
invoked in the session).
11711171

11721172
The file ".netrwbook" holds bookmarks when netrw (and vim) is not active. By
1173-
default, its stored on the first directory on the user's |'runtimepath'|.
1173+
default, its stored on the first directory on the user's 'runtimepath'.
11741174

11751175
Related Topics:
11761176
|netrw-gb| how to return (go) to a bookmark
@@ -1396,7 +1396,7 @@ used in that count.
13961396
See |g:netrw_dirhistmax| for how to control the quantity of history stack
13971397
slots. The file ".netrwhist" holds history when netrw (and vim) is not
13981398
active. By default, its stored on the first directory on the user's
1399-
|'runtimepath'|.
1399+
'runtimepath'.
14001400

14011401
Related Topics:
14021402
|netrw-U| changing to a successor directory
@@ -1515,7 +1515,7 @@ DIRECTORY EXPLORATION COMMANDS {{{2
15151515
*netrw-:Explore*
15161516
:Explore will open the local-directory browser on the current file's
15171517
directory (or on directory [dir] if specified). The window will be
1518-
split only if the file has been modified and |'hidden'| is not set,
1518+
split only if the file has been modified and 'hidden' is not set,
15191519
otherwise the browsing window will take over that window. Normally
15201520
the splitting is taken horizontally.
15211521
Also see: |netrw-:Rexplore|
@@ -2400,11 +2400,11 @@ your browsing preferences. (see also: |netrw-settings|)
24002400

24012401
*g:netrw_alto* change from above splitting to below splitting
24022402
by setting this variable (see |netrw-o|)
2403-
default: =&sb (see |'sb'|)
2403+
default: =&sb (see 'sb')
24042404

24052405
*g:netrw_altv* change from left splitting to right splitting
24062406
by setting this variable (see |netrw-v|)
2407-
default: =&spr (see |'spr'|)
2407+
default: =&spr (see 'spr')
24082408

24092409
*g:netrw_banner* enable/suppress the banner
24102410
=0: suppress the banner
@@ -2472,7 +2472,7 @@ your browsing preferences. (see also: |netrw-settings|)
24722472

24732473
*g:netrw_cursor* = 2 (default)
24742474
This option controls the use of the
2475-
|'cursorline'| (cul) and |'cursorcolumn'|
2475+
'cursorline' (cul) and 'cursorcolumn'
24762476
(cuc) settings by netrw:
24772477

24782478
Value Thin-Long-Tree Wide
@@ -2487,15 +2487,15 @@ your browsing preferences. (see also: |netrw-settings|)
24872487
=8 cul U-cuc cul cuc
24882488

24892489
Where
2490-
u-cul : user's |'cursorline'| initial setting used
2491-
u-cuc : user's |'cursorcolumn'| initial setting used
2492-
U-cul : user's |'cursorline'| current setting used
2493-
U-cuc : user's |'cursorcolumn'| current setting used
2494-
cul : |'cursorline'| will be locally set
2495-
cuc : |'cursorcolumn'| will be locally set
2490+
u-cul : user's 'cursorline' initial setting used
2491+
u-cuc : user's 'cursorcolumn' initial setting used
2492+
U-cul : user's 'cursorline' current setting used
2493+
U-cuc : user's 'cursorcolumn' current setting used
2494+
cul : 'cursorline' will be locally set
2495+
cuc : 'cursorcolumn' will be locally set
24962496

24972497
The "initial setting" means the values of
2498-
the |'cuc'| and |'cul'| settings in effect when
2498+
the 'cuc' and 'cul' settings in effect when
24992499
netrw last saw |g:netrw_cursor| >= 5 or when
25002500
netrw was initially run.
25012501

@@ -2566,7 +2566,7 @@ your browsing preferences. (see also: |netrw-settings|)
25662566
*g:netrw_ffkeep* (default: doesn't exist)
25672567
If this variable exists and is zero, then
25682568
netrw will not do a save and restore for
2569-
|'fileformat'|.
2569+
'fileformat'.
25702570

25712571
*g:netrw_fname_escape* =' ?&;%'
25722572
Used on filenames before remote reading/writing
@@ -2618,7 +2618,7 @@ your browsing preferences. (see also: |netrw-settings|)
26182618
.netrwhist).
26192619
Netrw uses |expand()|on the string.
26202620
default: the first directory on the
2621-
|'runtimepath'|
2621+
'runtimepath'
26222622

26232623
*g:netrw_keepdir* =1 (default) keep current directory immune from
26242624
the browsing directory.
@@ -2814,7 +2814,7 @@ your browsing preferences. (see also: |netrw-settings|)
28142814
netrwYacc : *.y
28152815

28162816
In addition, those groups mentioned in
2817-
|'suffixes'| are also added to the special
2817+
'suffixes' are also added to the special
28182818
file highlighting group.
28192819
These syntax highlighting groups are linked
28202820
to netrwGray or Folded by default
@@ -2892,7 +2892,7 @@ your browsing preferences. (see also: |netrw-settings|)
28922892
used to specify the quantity of lines or
28932893
columns for the new window.
28942894
If g:netrw_winsize is zero, then a normal
2895-
split will be made (ie. |'equalalways'| will
2895+
split will be made (ie. 'equalalways' will
28962896
take effect, for example).
28972897
default: 50 (for 50%)
28982898

@@ -2911,7 +2911,7 @@ your browsing preferences. (see also: |netrw-settings|)
29112911
codepoint; a hard tab is one; wide and
29122912
narrow CJK are one each; etc.)
29132913
=3: virtual length (counting tabs as anything
2914-
between 1 and |'tabstop'|, wide CJK as 2
2914+
between 1 and 'tabstop', wide CJK as 2
29152915
rather than 1, Arabic alif as zero when
29162916
immediately preceded by lam, one
29172917
otherwise, etc)
@@ -3003,7 +3003,7 @@ These will:
30033003
Related: if you like this idea, you may also find :Lexplore
30043004
(|netrw-:Lexplore|) or |g:netrw_chgwin| of interest
30053005

3006-
Also see: |g:netrw_chgwin| |netrw-P| |'previewwindow'| |CTRL-W_z| |:pclose|
3006+
Also see: |g:netrw_chgwin| |netrw-P| 'previewwindow' |CTRL-W_z| |:pclose|
30073007

30083008

30093009
PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2
@@ -3401,7 +3401,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
34013401
not by netrw, and there appears to be no way to work around
34023402
it. Coupled with the default cmdheight of 1, this message
34033403
causes the "Press ENTER..." prompt. So: read |hit-enter|;
3404-
I also suggest that you set your |'cmdheight'| to 2 (or more) in
3404+
I also suggest that you set your 'cmdheight' to 2 (or more) in
34053405
your <.vimrc> file.
34063406

34073407
*netrw-p10*
@@ -3520,7 +3520,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
35203520
I expect both buffers to exist, but only the last one does.
35213521

35223522
(Lance) Problem is caused by "set autochdir" in .vimrc.
3523-
(drchip) I am able to duplicate this problem with |'acd'| set.
3523+
(drchip) I am able to duplicate this problem with 'acd' set.
35243524
It appears that the buffers are not exactly closed;
35253525
a ":ls!" will show them (although ":ls" does not).
35263526

0 commit comments

Comments
 (0)