Move help menu to canonical F1 binding (#5510)

Currently the fully fledged help menu is bound to `Ctrl-Q`.
Help is widely associated with `F1`.

Before merging check that it is passed through on all platforms and
terminal emulators
This commit is contained in:
Stefan Holderbach 2022-05-19 15:24:04 +02:00 committed by GitHub
parent 1999e0dcf3
commit 0ea7a38c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -524,8 +524,8 @@ fn add_menu_keybindings(keybindings: &mut Keybindings) {
// Help menu keybinding
keybindings.add_binding(
KeyModifiers::CONTROL,
KeyCode::Char('q'),
KeyModifiers::NONE,
KeyCode::F(1),
ReedlineEvent::Menu("help_menu".to_string()),
);
}