Feature Request: Add Shift + Delete to Permanently Delete Files Without Using Trash Can
Is your feature request related to a problem? Please describe. Sometimes it can be inconvenient to delete files permanently because they first go to the trash can, requiring an extra step to empty it.
Describe the solution you'd like I would like an option where pressing Shift + Delete would delete files immediately and permanently, bypassing the trash can.
Describe alternatives you've considered An alternative solution could be a toggle option in the settings to enable or disable this feature as per user preference.
Additional context This feature would make file management easier by letting users permanently delete files in one step.
This may be related to https://github.com/yorukot/superfile/issues/300 To do this, you must first enable superfile to detect more than 2 keys. I have not done any research on whether bubbletea can do this. but worth a try
Or we could add a third option to the confirmation dialog? (p) permanently
WDYT?
Seems like a good option. What do you think @yorukot
I think this is a great approach.
@yorukot I'm up for giving this a shot and dropping a PR.
@jonas-grgt Of course, thank you so much for jumping in!
Just a quick note: I don't think this will be a very simple change. If you run into anything or have questions, feel free to ask. I'm happy to help.
Hi @jonas-grgt, just checking in to see if you're still planning to work on this. No pressure at all. If you're currently busy or can't continue, that's totally okay. Feel free to let us know, and someone else can take over if needed.
Thanks again for showing interest and offering to help!
Hi @yorukot sorry I don't think I'll find any time this summer to work on this.
I would prefer something like Shift+delete or Shift+D rather then have 3 options on a notify modal.
Notification boxes should not be made more complex. Its a bit complexity jump from going to yes / no, to yes / yes with another option / no .
And its more safe. If user presses Ctrl+d, there is no risk of him permanently deleting by mistake.
Done via
- https://github.com/yorukot/superfile/pull/987
Note Shift+Delete, it seems, isn't detectable by bubbletea as of now.