on main help sign in
fix: change binding to open/close todo list from `ctrl+space` to `ctrl+t` (#2201)
f791e5cAndrey Nering
internal/ui/model/keys.go+2−2
@@ -173,8 +173,8 @@ func DefaultKeyMap() KeyMap {
173 key.WithHelp("ctrl+d", "toggle details"),
173 key.WithHelp("ctrl+d", "toggle details"),
174 )
174 )
175 km.Chat.TogglePills = key.NewBinding(
175 km.Chat.TogglePills = key.NewBinding(
176− key.WithKeys("ctrl+space"),
176+ key.WithKeys("ctrl+t", "ctrl+space"),
177− key.WithHelp("ctrl+space", "toggle tasks"),
177+ key.WithHelp("ctrl+t", "toggle tasks"),
178 )
178 )
179 km.Chat.PillLeft = key.NewBinding(
179 km.Chat.PillLeft = key.NewBinding(
180 key.WithKeys("left"),
180 key.WithKeys("left"),
internal/ui/model/pills.go+1−1
@@ -270,7 +270,7 @@ func (m *UI) renderPills() {
270 if m.pillsExpanded {
270 if m.pillsExpanded {
271 helpDesc = "close"
271 helpDesc = "close"
272 }
272 }
273− helpKey := t.Pills.HelpKey.Render("ctrl+space")
273+ helpKey := t.Pills.HelpKey.Render("ctrl+t")
274 helpText := t.Pills.HelpText.Render(helpDesc)
274 helpText := t.Pills.HelpText.Render(helpDesc)
275 helpHint := lipgloss.JoinHorizontal(lipgloss.Center, helpKey, " ", helpText)
275 helpHint := lipgloss.JoinHorizontal(lipgloss.Center, helpKey, " ", helpText)
276 pillsRow = lipgloss.JoinHorizontal(lipgloss.Center, pillsRow, " ", helpHint)
276 pillsRow = lipgloss.JoinHorizontal(lipgloss.Center, pillsRow, " ", helpHint)