antonmedv / walk

Terminal file manager
MIT License
3.29k stars 95 forks source link

Double D to delete is dangerous. #149

Closed lvergergsk closed 5 months ago

lvergergsk commented 5 months ago

Maybe D -> Y to delete is better. I loss some important folders as an new walk user.

antonmedv commented 5 months ago

Double d is a same key binding as in vim (delete a line). Also walk allows to undo the delete for 5 sec with u key.

Alternatively configure walk to move files to trash instead of rm with https://www.npmjs.com/package/trash-cli

export WALK_REMOVE_CMD=trash
lvergergsk commented 5 months ago

OK, sounds reasonable. I'll try WALK_REMOVE_CMD instead, thanks.