keys: g opens lazygit, t opens the tool chooser, l stays navigation
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user