mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-17 12:06:38 +02:00
move keybindings
This commit is contained in:
parent
59d4df2a44
commit
ea503633aa
@ -35,6 +35,11 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty
|
|||||||
Handler: self.checkSelected(self.press),
|
Handler: self.checkSelected(self.press),
|
||||||
Description: self.c.Tr.LcCheckout,
|
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),
|
Key: opts.GetKey(opts.Config.Branches.CreatePullRequest),
|
||||||
Handler: self.checkSelected(self.handleCreatePullRequest),
|
Handler: self.checkSelected(self.handleCreatePullRequest),
|
||||||
@ -61,11 +66,6 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty
|
|||||||
Handler: self.forceCheckout,
|
Handler: self.forceCheckout,
|
||||||
Description: self.c.Tr.LcForceCheckout,
|
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),
|
Key: opts.GetKey(opts.Config.Universal.Remove),
|
||||||
Handler: self.checkSelectedAndReal(self.delete),
|
Handler: self.checkSelectedAndReal(self.delete),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user