Allow moving tickets between projects with P.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+6
-1
@@ -9,6 +9,7 @@ type KeyMap struct {
|
||||
New key.Binding
|
||||
Search key.Binding
|
||||
Project key.Binding
|
||||
MoveTicket key.Binding // P — move selected ticket to another project
|
||||
Board key.Binding
|
||||
Status key.Binding
|
||||
Edit key.Binding
|
||||
@@ -51,6 +52,10 @@ func DefaultKeyMap() KeyMap {
|
||||
key.WithKeys("p"),
|
||||
key.WithHelp("p", "project"),
|
||||
),
|
||||
MoveTicket: key.NewBinding(
|
||||
key.WithKeys("P"),
|
||||
key.WithHelp("P", "move ticket"),
|
||||
),
|
||||
Board: key.NewBinding(
|
||||
key.WithKeys("l", "tab"),
|
||||
key.WithHelp("l", "list"),
|
||||
@@ -124,7 +129,7 @@ func DefaultKeyMap() KeyMap {
|
||||
|
||||
// ShortHelp implements help.KeyMap.
|
||||
func (k KeyMap) ShortHelp() []key.Binding {
|
||||
return []key.Binding{k.Up, k.New, k.Search, k.Project, k.Board, k.Status, k.Edit, k.Timer, k.TimeManual, k.TimeEntries, k.Report, k.Delete, k.DeleteForce, k.Undo, k.Redo, k.Quit}
|
||||
return []key.Binding{k.Up, k.New, k.Search, k.Project, k.MoveTicket, k.Board, k.Status, k.Edit, k.Timer, k.TimeManual, k.TimeEntries, k.Report, k.Delete, k.DeleteForce, k.Undo, k.Redo, k.Quit}
|
||||
}
|
||||
|
||||
// FullHelp implements help.KeyMap.
|
||||
|
||||
Reference in New Issue
Block a user