mirror of
https://github.com/nushell/nushell.git
synced 2025-03-26 15:26:51 +01:00
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:
parent
1999e0dcf3
commit
0ea7a38c21
@ -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()),
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user