คุณไม่สามารถใช้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
- ย้ายไปที่บรรทัดที่มีไฟล์ที่คุณต้องการคัดลอก
- กดแล้ว
mfmc
ตัวอย่าง:
$ tree foo
foo
└── bar
└── test
1 directory, 1 file
$ vim foo/bar
ขณะนี้:
ย้ายไปที่..และกดmt:

ส่วนหัวจะเปลี่ยนเพื่อแสดงเป้าหมายปัจจุบัน:

ย้ายไปยังแฟ้ม (ที่นี่test) mfและกด มันได้รับการเน้นสำหรับฉัน:

กดmc- ไฮไลท์หายไป ตอนนี้นำทางไปยังโฟลเดอร์หลัก - ไฟล์ควรมีอยู่:

mtไปที่ไดเรกทอรีเป้าหมายที่คุณต้องการทำสำเนาไฟล์ (เพื่อทำเครื่องหมายเส้นทางที่ไปยังโฟลเดอร์ควรจะปรากฏในแบนเนอร์หลังจากCopy/Move Tgt:) กดmfไฟล์ที่คุณต้องการคัดลอกเพื่อทำเครื่องหมายเป็น ดีจากนั้นกดปุ่มmcเพื่อดำเนินการคัดลอกจริง