Delete is move to trash

This commit is contained in:
Jeremy Soller 2024-02-28 15:25:33 -07:00
parent bb1c57bbf5
commit 9fa0a19c58
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -66,6 +66,7 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([Alt], Key::Named(Named::ArrowRight), HistoryNext);
bind!([Alt], Key::Named(Named::ArrowLeft), HistoryPrevious);
bind!([Alt], Key::Named(Named::ArrowUp), LocationUp);
bind!([], Key::Named(Named::Delete), MoveToTrash);
bind!([Ctrl], Key::Character("v".into()), Paste);
bind!([], Key::Named(Named::F2), Rename);
bind!([Ctrl], Key::Character("a".into()), SelectAll);