diff options
-rw-r--r-- | doc/ranger.pod | 5 | ||||
-rwxr-xr-x | ranger/config/commands.py | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod index 3a98df86..55944cdd 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -527,8 +527,9 @@ also "da", "dr" and "dt" shortcuts equivalent to "ya", "yr" and "yt".) Paste the files which were previously copied or cut, like pressing Ctrl+V in modern GUI programs. -Conflicts will be renamed by appending an _ to the full file name. To change -this and insert a _ before the file extension see commands.py. +Conflicts will be renamed by appending an '_' (and a counter if necessary), +resulting in F<file.ext_>. If you prefer F<file_.ext> you can use the +I<paste_ext> command from F<commands.py>. =item po diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 1eb740f8..9cbf5f2e 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1865,8 +1865,8 @@ class paste_ext(Command): """ :paste_ext - Like paste but renames conflicting files so that the - file extension stays intact. + Like paste but tries to rename conflicting files so that the + file extension stays intact (e.g. file_.ext). """ @staticmethod |