mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
Secret keystroke: navigate tabs with shift+h, shift+l
This commit is contained in:
parent
8f3c5df236
commit
379dc74d0e
1 changed files with 2 additions and 2 deletions
|
@ -738,7 +738,7 @@ func (m *stashModel) handleDocumentBrowsing(msg tea.Msg) tea.Cmd {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Next section
|
// Next section
|
||||||
case "tab":
|
case "tab", "L":
|
||||||
if len(m.sections) == 0 || m.filterState == filtering {
|
if len(m.sections) == 0 || m.filterState == filtering {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -749,7 +749,7 @@ func (m *stashModel) handleDocumentBrowsing(msg tea.Msg) tea.Cmd {
|
||||||
m.updatePagination()
|
m.updatePagination()
|
||||||
|
|
||||||
// Previous section
|
// Previous section
|
||||||
case "shift+tab":
|
case "shift+tab", "H":
|
||||||
if len(m.sections) == 0 || m.filterState == filtering {
|
if len(m.sections) == 0 || m.filterState == filtering {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue