Secret keystroke: navigate tabs with shift+h, shift+l

This commit is contained in:
Christian Rocha 2020-12-17 18:01:41 -05:00
parent 8f3c5df236
commit 379dc74d0e

View file

@ -738,7 +738,7 @@ func (m *stashModel) handleDocumentBrowsing(msg tea.Msg) tea.Cmd {
}
// Next section
case "tab":
case "tab", "L":
if len(m.sections) == 0 || m.filterState == filtering {
break
}
@ -749,7 +749,7 @@ func (m *stashModel) handleDocumentBrowsing(msg tea.Msg) tea.Cmd {
m.updatePagination()
// Previous section
case "shift+tab":
case "shift+tab", "H":
if len(m.sections) == 0 || m.filterState == filtering {
break
}