]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): update netrws "mt" command description
authorChristian Brabandt <cb@256bit.org>
Sun, 24 May 2026 08:56:17 +0000 (08:56 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 24 May 2026 08:57:49 +0000 (08:57 +0000)
fixes: #20302

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/pi_netrw.txt
runtime/pack/dist/opt/netrw/doc/netrw.txt

index 6f20073d5ac8fb40522feb9cc3b54ed8788ac7ae..fd9339f1d5a893093eae8609fe1f2f52b49785d6 100644 (file)
@@ -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
index 2c5d6d822edcedd998c7fd97e3837a00f90fbfb6..41e61cfad816c7b07ec04dd7414ffaf10a051b4b 100644 (file)
@@ -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