summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-05-21 11:01:15 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-05-21 11:01:15 +1000
commit460a166e166ba7bfa67aa7b1758b410930194e3f (patch)
tree622d5201bb381fcbd1635d45b56bbc635b8684e4
parent2e66d87b9494f89b90083078b8926154d953499d (diff)
Stop displaying navigation keybinding at bottom of screen
The reason for this is that now our labels for navigation keybindings are larger so they take up more realestate. It's not the kind of thing a user needs to be told anyway, anybody is going to try out hjkl and the arrow keys when a TUI opens up. We could map from <up> to the single character up unicode rune but given you can rebind this stuff I'd rather keep it simple
-rw-r--r--pkg/gui/options_map.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/gui/options_map.go b/pkg/gui/options_map.go
index 5f5c008dd..0052a85af 100644
--- a/pkg/gui/options_map.go
+++ b/pkg/gui/options_map.go
@@ -61,10 +61,6 @@ func (self *OptionsMapMgr) globalOptions() []bindingInfo {
description: self.c.Tr.LcScroll,
},
{
- key: fmt.Sprintf("%s %s %s %s", keybindings.Label(keybindingConfig.Universal.PrevBlock), keybindings.Label(keybindingConfig.Universal.NextBlock), keybindings.Label(keybindingConfig.Universal.PrevItem), keybindings.Label(keybindingConfig.Universal.NextItem)),
- description: self.c.Tr.LcNavigate,
- },
- {
key: keybindings.Label(keybindingConfig.Universal.Return),
description: self.c.Tr.LcCancel,
},