From ea503633aa396d3063a22a9ead12f8b8cb66a1b0 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 27 Feb 2022 16:21:58 +1100 Subject: [PATCH] move keybindings --- pkg/gui/controllers/branches_controller.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/gui/controllers/branches_controller.go b/pkg/gui/controllers/branches_controller.go index a151d4bcc..08ea95119 100644 --- a/pkg/gui/controllers/branches_controller.go +++ b/pkg/gui/controllers/branches_controller.go @@ -35,6 +35,11 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty Handler: self.checkSelected(self.press), Description: self.c.Tr.LcCheckout, }, + { + Key: opts.GetKey(opts.Config.Universal.New), + Handler: self.checkSelected(self.newBranch), + Description: self.c.Tr.LcNewBranch, + }, { Key: opts.GetKey(opts.Config.Branches.CreatePullRequest), Handler: self.checkSelected(self.handleCreatePullRequest), @@ -61,11 +66,6 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty Handler: self.forceCheckout, Description: self.c.Tr.LcForceCheckout, }, - { - Key: opts.GetKey(opts.Config.Universal.New), - Handler: self.checkSelected(self.newBranch), - Description: self.c.Tr.LcNewBranch, - }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.checkSelectedAndReal(self.delete),