diff --git a/choose/choose.go b/choose/choose.go index 0e898fa..468dc04 100644 --- a/choose/choose.go +++ b/choose/choose.go @@ -116,7 +116,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { m.aborted = true m.quitting = true return m, tea.Quit - case " ", "tab", "x": + case " ", "tab", "x", "ctrl+@": if m.limit == 1 { break // no op } diff --git a/filter/filter.go b/filter/filter.go index dc688ce..9e5a4c1 100644 --- a/filter/filter.go +++ b/filter/filter.go @@ -163,6 +163,11 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } m.ToggleSelection() m.CursorUp() + case "ctrl+@": + if m.limit == 1 { + break // no op + } + m.ToggleSelection() default: m.textinput, cmd = m.textinput.Update(msg)