Closed azzamsa closed 1 year ago
I think this is a nice feature.
By default we now ask if you want to overwrite the file. We can instead change this to a multi-option menu, where we can ask:
Additionally, we can add a setting where you can set the default answer to this question. (i.e. overwrite without asking or add the copy X
). map-y-or-n-p
can be used to ask a question with multiple actions bound to keys.
By default we now ask if you want to overwrite the file. We can instead change this to a multi-option menu, where we can ask:
* do nothing * overwrite * insert a (copy 1)
affirmative :+1:
I use Dired-Ranger nowadays and it has auto-increment out of the box.
Thanks for Dired-hacks.
Hi.
The default behavior of regular file manager (Thunar, Dolphin, etc) is to increment file name if the same name exists.
Case:
If I copy
linode.png
in the same directory, then the resulting copy will have a trailing(copy 1)
.I would like to add this functionality to dired-ranger-paste. But now I am thinking:
arg
for toggleWhat your thoughts on this?
If you reject this idea. I would like to implement this on my side only.