diff options
author | Christian Zangl <laktak@cdak.net> | 2019-07-19 23:21:30 +0200 |
---|---|---|
committer | Christian Zangl <laktak@cdak.net> | 2019-07-19 23:21:30 +0200 |
commit | 65f95287d42869952e3bc0ae9ffefa94221f7faa (patch) | |
tree | 7385bb1a4d16b189785aa466dda7c6b92a689737 | |
parent | c51e5af03f06b8a126a40a1a5af4f2b03277374a (diff) | |
download | ranger-65f95287d42869952e3bc0ae9ffefa94221f7faa.tar.gz |
fix docs
-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 |