Commit: runtime(doc): update netrws "mt" command description

0 views
Skip to first unread message

Christian Brabandt

unread,
May 24, 2026, 5:00:13 AMMay 24
to vim...@googlegroups.com
runtime(doc): update netrws "mt" command description

Commit: https://github.com/vim/vim/commit/e60d4b4ff309cab96522f4ad565dd7dc9478b89c
Author: Christian Brabandt <c...@256bit.org>
Date: Sun May 24 08:56:17 2026 +0000

runtime(doc): update netrws "mt" command description

fixes: https://github.com/vim/vim/issues/20302

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt
index 6f20073d5..fd9339f1d 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 2c5d6d822..41e61cfad 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
Reply all
Reply to author
Forward
0 new messages