summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorFrancisco Miamoto <fsmiamoto@gmail.com>2021-12-26 21:42:47 -0300
committerJesse Duffield <jessedduffield@gmail.com>2021-12-28 15:54:19 +1100
commit1a7d0cd7aede0a62a39b320071b48c5eda0391c0 (patch)
tree5ff4eb7678e51e47c697ba15598c595ad8946a1d /pkg
parent2696a63a0a8491b6bb0ebd3350522f4b8198f14f (diff)
add binding to go to bottom on lists
Related to #1584
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/list_context_config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go
index 48399e667..ee47c9b33 100644
--- a/pkg/gui/list_context_config.go
+++ b/pkg/gui/list_context_config.go
@@ -401,6 +401,7 @@ func (gui *Gui) getListContextKeyBindings() []*Binding {
{ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gui.getKey(keybindingConfig.Universal.PrevPage), Modifier: gocui.ModNone, Handler: listContext.handlePrevPage, Description: gui.Tr.LcPrevPage},
{ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gui.getKey(keybindingConfig.Universal.NextPage), Modifier: gocui.ModNone, Handler: listContext.handleNextPage, Description: gui.Tr.LcNextPage},
{ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gui.getKey(keybindingConfig.Universal.GotoTop), Modifier: gocui.ModNone, Handler: listContext.handleGotoTop, Description: gui.Tr.LcGotoTop},
+ {ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gui.getKey(keybindingConfig.Universal.GotoBottom), Modifier: gocui.ModNone, Handler: listContext.handleGotoBottom, Description: gui.Tr.LcGotoBottom},
{ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gocui.MouseWheelDown, Modifier: gocui.ModNone, Handler: listContext.handleNextLine},
{ViewName: listContext.GetViewName(), Contexts: []string{string(listContext.GetKey())}, Key: gocui.MouseLeft, Modifier: gocui.ModNone, Handler: listContext.handleClick},
{ViewName: listContext.GetViewName(), Tag: "navigation", Contexts: []string{string(listContext.GetKey())}, Key: gui.getKey(keybindingConfig.Universal.ScrollLeft), Modifier: gocui.ModNone, Handler: listContext.handleScrollLeft},