1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

add commit message controller

This commit is contained in:
Jesse Duffield
2022-02-22 21:16:00 +11:00
parent 120078f011
commit d991d74b06
11 changed files with 217 additions and 129 deletions

View File

@ -430,18 +430,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
Handler: self.handleCopySelectedSideContextItemToClipboard,
Description: self.c.Tr.LcCopyCommitShaToClipboard,
},
{
ViewName: "commitMessage",
Key: opts.GetKey(opts.Config.Universal.SubmitEditorText),
Modifier: gocui.ModNone,
Handler: self.handleCommitConfirm,
},
{
ViewName: "commitMessage",
Key: opts.GetKey(opts.Config.Universal.Return),
Modifier: gocui.ModNone,
Handler: self.handleCommitClose,
},
{
ViewName: "credentials",
Key: opts.GetKey(opts.Config.Universal.Confirm),