Add key binds for open in new tab/window

This commit is contained in:
Jason Rodney Hansen 2024-06-30 10:13:35 -06:00 committed by Jeremy Soller
parent 7d3ae07067
commit 808de5b355
2 changed files with 3 additions and 1 deletions

View file

@ -40,6 +40,8 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([], Key::Named(Named::Delete), MoveToTrash);
bind!([Ctrl, Shift], Key::Character("N".into()), NewFolder);
bind!([], Key::Named(Named::Enter), Open);
bind!([Ctrl], Key::Named(Named::Enter), OpenInNewTab);
bind!([Shift], Key::Named(Named::Enter), OpenInNewWindow);
bind!([Ctrl], Key::Character("v".into()), Paste);
bind!([], Key::Named(Named::Space), Properties);
bind!([], Key::Named(Named::F2), Rename);

View file

@ -174,7 +174,7 @@ pub fn context_menu<'a>(
..Default::default()
}
}))
.width(Length::Fixed(240.0))
.width(Length::Fixed(260.0))
.into()
}