config option so x
only deletes files from dir where last selection was made
#1880
Replies: 3 comments 2 replies
-
when you make selection you can delete(or other operations which supports this) for hovered file or selection(bottom left corner). |
Beta Was this translation helpful? Give feedback.
-
No. But you can use |
Beta Was this translation helpful? Give feedback.
-
So I rewrote the "delete only from the last selected directory" plugin in Julia (less annoying to debug than the shell script version I posted earlier) and made it more rubust (so it can handle spaces, |, and other special characters in the filename, and not freak out if selction file is empty):
|
Beta Was this translation helpful? Give feedback.
-
A few times, I have selected a few files to move, gone into the new directory, got distracted when I noticed stuff that needed deleting, selected that stuff, pressed
x
, and so accidently deleted the stuff I wanted to copy from the other directory.Is there some way I can config my nnn to not delete from more than one directory at the same time? I never want to do this on purpose.
If there is no such option, I think it would be quite useful to have. Or even to change current behaviour to not allowing deleting from more than one dir at a time, just display an "error: cannot delete from more than one dir at a time" or whatever.
Its quite easy to delete a huge directory you were just trying to move, and not even realise till a long time later :-o
Beta Was this translation helpful? Give feedback.
All reactions