Backspace to go back, fixes #267
This commit is contained in:
parent
5a3c63df17
commit
b91088482b
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
|
||||||
bind!([Ctrl], Key::Character("l".into()), EditLocation);
|
bind!([Ctrl], Key::Character("l".into()), EditLocation);
|
||||||
bind!([Alt], Key::Named(Named::ArrowRight), HistoryNext);
|
bind!([Alt], Key::Named(Named::ArrowRight), HistoryNext);
|
||||||
bind!([Alt], Key::Named(Named::ArrowLeft), HistoryPrevious);
|
bind!([Alt], Key::Named(Named::ArrowLeft), HistoryPrevious);
|
||||||
|
bind!([], Key::Named(Named::Backspace), HistoryPrevious);
|
||||||
// Catch arrow keys
|
// Catch arrow keys
|
||||||
bind!([], Key::Named(Named::ArrowDown), ItemDown);
|
bind!([], Key::Named(Named::ArrowDown), ItemDown);
|
||||||
bind!([], Key::Named(Named::ArrowLeft), ItemLeft);
|
bind!([], Key::Named(Named::ArrowLeft), ItemLeft);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue