hotfix: default to quicknav tip
@@ -214,7 +214,9 @@ fn best_effort_shortcut_list(help: &ModeInfo, tip: TipFn, max_len: usize) -> Lin
pub fn keybinds(help: &ModeInfo, tip_name: &str, max_width: usize) -> LinePart {
// It is assumed that there is at least one TIP data in the TIPS HasMap.
- let tip_body = TIPS.get(tip_name).unwrap();
+ let tip_body = TIPS
+ .get(tip_name)
+ .unwrap_or_else(|| TIPS.get("quicknav").unwrap());
let full_shortcut_list = full_shortcut_list(help, tip_body.full);
if full_shortcut_list.len <= max_width {
