Also add tab/shift+tab bindings to file browser

This commit is contained in:
Christian Rocha 2020-11-10 22:19:55 -05:00 committed by Christian Rocha
parent a17cfa6d26
commit 899c038402

View file

@ -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