runtime(doc): update netrws "mt" command description
Commit:
https://github.com/vim/vim/commit/e60d4b4ff309cab96522f4ad565dd7dc9478b89c
Author: Christian Brabandt <[email protected]>
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 <[email protected]>
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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wR4gm-003mBB-IV%40256bit.org.