Skip to content

Commit

Permalink
Secret keystroke: navigate tabs with shift+h, shift+l
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Dec 24, 2020
1 parent 8f3c5df commit 379dc74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/stash.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit 379dc74

Please sign in to comment.