diff --git a/src/widgets/proc.go b/src/widgets/proc.go index 29db6415..4ec636de 100644 --- a/src/widgets/proc.go +++ b/src/widgets/proc.go @@ -138,15 +138,19 @@ func (self *Proc) keyBinds() { self.KeyPressed <- true }) - viKeys := []string{"j", "k", "gg", "G", "", "", "", ""} + viKeys := []string{"j", "k", "gg", "G", "", "", "", "", "", ""} ui.On(viKeys, func(e ui.Event) { switch e.Key { case "j": self.Down() case "k": self.Up() + case "": + fallthrough case "gg": self.Top() + case "": + fallthrough case "G": self.Bottom() case "":