From e60d4b4ff309cab96522f4ad565dd7dc9478b89c Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 24 May 2026 08:56:17 +0000 Subject: [PATCH] runtime(doc): update netrws "mt" command description fixes: #20302 Signed-off-by: Christian Brabandt --- runtime/doc/pi_netrw.txt | 7 ++++--- runtime/pack/dist/opt/netrw/doc/netrw.txt | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index 6f20073d5a..fd9339f1d5 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -2284,9 +2284,10 @@ Set the marked file copy/move-to target (see |netrw-mc| and |netrw-mm|): displayed directory is used for the copy/move-to target. * Also, if the cursor is in the banner, then the netrw window's currently - displayed directory is used for the copy/move-to target. - Unless the target already is the current directory. In which case, - typing "mf" clears the target. + displayed directory is used for the copy/move-to target - unless that + directory is already the target, in which case typing "mt" again clears + it. Repeating "mt" in the banner thus toggles the current directory as + the target. * However, if the cursor is atop a directory name, then that directory is used for the copy/move-to target diff --git a/runtime/pack/dist/opt/netrw/doc/netrw.txt b/runtime/pack/dist/opt/netrw/doc/netrw.txt index 2c5d6d822e..41e61cfad8 100644 --- a/runtime/pack/dist/opt/netrw/doc/netrw.txt +++ b/runtime/pack/dist/opt/netrw/doc/netrw.txt @@ -2284,9 +2284,10 @@ Set the marked file copy/move-to target (see |netrw-mc| and |netrw-mm|): displayed directory is used for the copy/move-to target. * Also, if the cursor is in the banner, then the netrw window's currently - displayed directory is used for the copy/move-to target. - Unless the target already is the current directory. In which case, - typing "mf" clears the target. + displayed directory is used for the copy/move-to target - unless that + directory is already the target, in which case typing "mt" again clears + it. Repeating "mt" in the banner thus toggles the current directory as + the target. * However, if the cursor is atop a directory name, then that directory is used for the copy/move-to target