yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
5.93k stars 128 forks source link

Feature Request: Add Shift + Delete to Permanently Delete Files Without Using Trash Can #320

Open fr0st-iwnl opened 2 months ago

fr0st-iwnl commented 2 months ago

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.

yorukot commented 2 months ago

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