あなたは使用することはできませんy
、p
netrwの中にファイルをコピーする、など-それは、独自のコマンドが付属しています。参照:h netrw-mc
:
MARKED FILES: COPYING netrw-mc {{{2
(See netrw-mf and netrw-mr for how to mark files)
(Uses the global marked file list)
Select a target directory with mt (netrw-mt). Then change directory,
select file(s) (see netrw-mf), and press "mc". The copy is done
from the current window (where one does the mf) to the target.
If one does not have a target directory set with netrw-mt, then netrw
will query you for a directory to copy to.
One may also copy directories and their contents (local only) to a target
directory.
./A
の親であるため、ケースは単純化され./A/B
ます。
- オープンは
./A/B
、ラインを持つに移動し../
、
- でマークする
mt
- コピーするファイルがある行に移動します。
- を押し
mf
、次にを押しmc
ます。
例:
$ tree foo
foo
└── bar
└── test
1 directory, 1 file
$ vim foo/bar
今:
に移動して..
を押しmt
ます。

ヘッダーが変更され、現在のターゲットが表示されます。

ファイル(ここtest
)に移動し、を押しmf
ます。強調表示されます:

押すmc
-ハイライトが消えます。次に、親フォルダーに移動します-ファイルが存在するはずです:

mt
ファイルのコピーを作成するターゲットディレクトリをヒットします(マークするために、フォルダへのパスが後にバナーに表示されるはずですCopy/Move Tgt:
)、mf
コピーするファイルをヒットしてマークするさて、mc
実際にコピーを実行するためにヒットします。