keys: g opens lazygit, t opens the tool chooser, l stays navigation

This commit is contained in:
Sam
2026-11-13 09:47:34 +11:00
parent cba45f82f8
commit 32fb35633a
9 changed files with 497 additions and 11 deletions

View File

@@ -237,8 +237,8 @@ func (m boardModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case "t":
m.tools = true
return m, nil
case "l":
// lazygit in the project folder, the same key as on the other panes.
case "g":
// lazygit in the project folder. `l` stays a navigation key.
if err := openTool(m.folder, "lazygit"); err != nil {
m.err = err
}
@@ -333,7 +333,7 @@ func (m boardModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.needsTab--
}
return m, nil
case "]":
case "]", "l":
if m.focus == focusNeeds && m.needsTab < 1 {
m.needsTab++
}
@@ -507,7 +507,7 @@ func (m boardModel) footerLine() string {
keyHint("u", "unblock"),
keyHint("c", "cancel"),
keyHint("t", "tools"),
keyHint("l", "lazygit"),
keyHint("g", "lazygit"),
keyHint("/", "filter"),
keyHint("?", "keys"),
keyHint("tab", "panel"),