From 3e5d4b2c749322351c781c4427852ff4393fcd4f Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 27 Mar 2022 17:19:31 +1100 Subject: add menu keybindings for various things --- pkg/gui/controllers/git_flow_controller.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/gui/controllers/git_flow_controller.go') 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', }, }, }) -- cgit v1.2.3