Add reload folder key binding, fixes #146

This commit is contained in:
Jeremy Soller 2025-05-15 10:54:51 -06:00
parent 2a9b4ad068
commit 3b34ba8907
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA
5 changed files with 26 additions and 3 deletions

View file

@ -29,6 +29,7 @@ pub fn key_binds(mode: &tab::Mode) -> HashMap<KeyBind, Action> {
bind!([], Key::Named(Named::ArrowLeft), ItemLeft);
bind!([], Key::Named(Named::ArrowRight), ItemRight);
bind!([], Key::Named(Named::ArrowUp), ItemUp);
bind!([], Key::Named(Named::F5), Reload);
bind!([], Key::Named(Named::Home), SelectFirst);
bind!([], Key::Named(Named::End), SelectLast);
bind!([Shift], Key::Named(Named::ArrowDown), ItemDown);