u/d also pages back/forth in the the file listing

This commit is contained in:
Christian Rocha 2020-07-28 16:46:23 -04:00 committed by Christian Muehlhaeuser
commit 60cee4a9a1

View file

@ -384,9 +384,9 @@ func stashUpdate(msg tea.Msg, m stashModel) (stashModel, tea.Cmd) {
if key, ok := msg.(tea.KeyMsg); ok {
if key.Type == tea.KeyRune {
switch key.Rune {
case 'b':
case 'b', 'u':
m.paginator.PrevPage()
case 'f':
case 'f', 'd':
m.paginator.NextPage()
}
}