We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f4c43 commit 72a8e81Copy full SHA for 72a8e81
pkg/gui/views.go
@@ -205,9 +205,15 @@ func (gui *Gui) configureViewProperties() {
205
gui.Views.CommitDescription.TextArea.AutoWrapWidth = gui.c.UserConfig().Git.Commit.AutoWrapWidth
206
207
if gui.c.UserConfig().Gui.ShowPanelJumps {
208
+ keyToTitlePrefix := func(key string) string {
209
+ if key == "<disabled>" {
210
+ return ""
211
+ }
212
+ return fmt.Sprintf("[%s]", key)
213
214
jumpBindings := gui.c.UserConfig().Keybinding.Universal.JumpToBlock
215
jumpLabels := lo.Map(jumpBindings, func(binding string, _ int) string {
- return fmt.Sprintf("[%s]", binding)
216
+ return keyToTitlePrefix(binding)
217
})
218
219
gui.Views.Status.TitlePrefix = jumpLabels[0]
0 commit comments