News for hackers. Stuff that matters.
Re:Superfile – A fancy, pretty terminal file manager by night_cat on Friday May 10, 2024 @03:29PM (#40322951)
Btw, this is not actually deleted, but put in the trash can.

But it seems that this hotkey is not good for many people. It may be changed in the next version. Thanks for your feedback.

Re:Superfile – A fancy, pretty terminal file manager by ghostly_s on Friday May 10, 2024 @03:32PM (#40322981)
I use a number of apps where ctrl-d is a common non-destructive shortcut, and can't recall ever encountering one where it was used for delete.
Re:Superfile – A fancy, pretty terminal file manager by 2024throwaway on Friday May 10, 2024 @05:50PM (#40324120)
k9s does a delete for ctrl+d
Re:Superfile – A fancy, pretty terminal file manager by gray_-_wolf on Saturday May 11, 2024 @10:39AM (#40328383)
With a prompt, asking for confirmation if I recall correctly...
Re:Superfile – A fancy, pretty terminal file manager by opan on Friday May 10, 2024 @08:51PM (#40325168)
In ranger, dd is cut/mv and dD is delete, but dD on one file spawns a command with :delete typed in so you have to hit enter to pull the trigger, and doing it with multiple files has the same behavior plus adds a y/N prompt asking if you're sure you want to delete those specific files. This is enough friction to prevent most mishaps, but not enough to be annoying. I would suggest taking inspiration from this.
Re:Superfile – A fancy, pretty terminal file manager by behnamoh on Saturday May 11, 2024 @12:40AM (#40325991)
How do I undo CTRL-d deletes? I almost deleted all my home dir...
Re:Superfile – A fancy, pretty terminal file manager by night_cat on Saturday May 11, 2024 @01:56AM (#40326277)
I am so sorry to hear about that:(

You can go to "~/.local/share/Trash" all files that you deleted are at there