mirror of
https://github.com/nushell/nushell.git
synced 2025-04-10 14:08:40 +02: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
|
// Help menu keybinding
|
||||||
keybindings.add_binding(
|
keybindings.add_binding(
|
||||||
KeyModifiers::CONTROL,
|
KeyModifiers::NONE,
|
||||||
KeyCode::Char('q'),
|
KeyCode::F(1),
|
||||||
ReedlineEvent::Menu("help_menu".to_string()),
|
ReedlineEvent::Menu("help_menu".to_string()),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user