From a20fa161cc6d6416da5fd6f38a8512ee06175e42 Mon Sep 17 00:00:00 2001 From: "suhird.singh" Date: Wed, 24 Jun 2026 13:39:42 -0400 Subject: [PATCH] gui: bind g/G to vim-style top/bottom navigation in the main panel Pressing 'gg' jumps to the top and 'G' jumps to the bottom of the main panel, matching vim navigation. The bindings are scoped to the main view so they apply across all of its tabs (Config, Logs, Env, Stats, Top). --- pkg/gui/keybindings.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index df706024..1342e4ff 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -461,6 +461,20 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Modifier: gocui.ModNone, Handler: gui.scrollRightMain, }, + { + ViewName: "main", + Key: 'g', + Modifier: gocui.ModNone, + Handler: gui.gotoTopMain, + Description: gui.Tr.GotoTop, + }, + { + ViewName: "main", + Key: 'G', + Modifier: gocui.ModNone, + Handler: gui.gotoBottomMain, + Description: gui.Tr.GotoBottom, + }, { ViewName: "filter", Key: gocui.KeyEnter,