diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-13 17:24:37 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 1253100431a93dca4b4953f2d4bfe73d22e15645 (patch) | |
tree | e0a7f8118b740ea162a5ff482b3172fdd07e5671 /pkg/gui/keybindings.go | |
parent | eab00de273590a3bef5c76e7a4484c7840073f47 (diff) |
cleanup
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 4cdf8d8ae..c6b1cee82 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -434,56 +434,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi { ViewName: "branches", Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Universal.GoInto), - Handler: self.handleViewSubCommitFiles, - Description: self.c.Tr.LcViewCommitFiles, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Universal.Select), - Handler: self.handleCheckoutSubCommit, - Description: self.c.Tr.LcCheckoutCommit, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Commits.ViewResetOptions), - Handler: self.handleCreateSubCommitResetMenu, - Description: self.c.Tr.LcViewResetOptions, - OpensMenu: true, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Universal.New), - Handler: self.handleNewBranchOffSubCommit, - Description: self.c.Tr.LcNewBranch, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Commits.CherryPickCopy), - Handler: self.handleCopySubCommit, - Description: self.c.Tr.LcCherryPickCopy, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Commits.CherryPickCopyRange), - Handler: self.handleCopySubCommitRange, - Description: self.c.Tr.LcCherryPickCopyRange, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, - Key: opts.GetKey(opts.Config.Commits.ResetCherryPick), - Handler: self.helpers.CherryPick.Reset, - Description: self.c.Tr.LcResetCherryPick, - }, - { - ViewName: "branches", - Contexts: []string{string(context.SUB_COMMITS_CONTEXT_KEY)}, Key: opts.GetKey(opts.Config.Universal.CopyToClipboard), Handler: self.handleCopySelectedSideContextItemToClipboard, Description: self.c.Tr.LcCopyCommitShaToClipboard, |