summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/git_flow_controller.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-27 17:19:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-27 18:16:16 +1100
commit3e5d4b2c749322351c781c4427852ff4393fcd4f (patch)
tree87958b5eece97e30cc32620a0a52d038aafc6216 /pkg/gui/controllers/git_flow_controller.go
parente94312b664c3e8daa0a27d6c48fda2d137fe98ac (diff)
add menu keybindings for various things
Diffstat (limited to 'pkg/gui/controllers/git_flow_controller.go')
-rw-r--r--pkg/gui/controllers/git_flow_controller.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/controllers/git_flow_controller.go b/pkg/gui/controllers/git_flow_controller.go
index a6d8f1da4..a0b0f3074 100644
--- a/pkg/gui/controllers/git_flow_controller.go
+++ b/pkg/gui/controllers/git_flow_controller.go
@@ -72,18 +72,22 @@ func (self *GitFlowController) handleCreateGitFlowMenu(branch *models.Branch) er
{
DisplayString: "start feature",
OnPress: startHandler("feature"),
+ Key: 'f',
},
{
DisplayString: "start hotfix",
OnPress: startHandler("hotfix"),
+ Key: 'h',
},
{
DisplayString: "start bugfix",
OnPress: startHandler("bugfix"),
+ Key: 'b',
},
{
DisplayString: "start release",
OnPress: startHandler("release"),
+ Key: 'r',
},
},
})