mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
Also add tab/shift+tab bindings to file browser
This commit is contained in:
parent
a17cfa6d26
commit
899c038402
1 changed files with 2 additions and 2 deletions
|
@ -444,10 +444,10 @@ func stashUpdate(msg tea.Msg, m stashModel) (stashModel, tea.Cmd) {
|
|||
// Handle keys
|
||||
case tea.KeyMsg:
|
||||
switch msg.String() {
|
||||
case "k", "ctrl+k", "up":
|
||||
case "k", "ctrl+k", "up", "shift+tab":
|
||||
m.moveCursorUp()
|
||||
|
||||
case "j", "ctrl+j", "down":
|
||||
case "j", "ctrl+j", "down", "tab":
|
||||
m.moveCursorDown()
|
||||
|
||||
// Go to the very start
|
||||
|
|
Loading…
Reference in a new issue