summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go58
1 files changed, 0 insertions, 58 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 7c5e0be25..4b0fcd99a 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -388,21 +388,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
Description: self.c.Tr.LcCopyBranchNameToClipboard,
},
{
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Universal.Return),
- Handler: self.handleRemoteBranchesEscape,
- Description: self.c.Tr.ReturnToRemotesList,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Commits.ViewResetOptions),
- Handler: self.handleCreateResetToRemoteBranchMenu,
- Description: self.c.Tr.LcViewResetOptions,
- OpensMenu: true,
- },
- {
ViewName: "commits",
Contexts: []string{string(context.LOCAL_COMMITS_CONTEXT_KEY)},
Key: opts.GetKey(opts.Config.Universal.CopyToClipboard),
@@ -873,49 +858,6 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
Description: self.c.Tr.LcUndo,
},
{
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Universal.Select),
- // gonna use the exact same handler as the 'n' keybinding because everybody wants this to happen when they checkout a remote branch
- Handler: self.handleNewBranchOffRemoteBranch,
- Description: self.c.Tr.LcCheckout,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Universal.New),
- Handler: self.handleNewBranchOffRemoteBranch,
- Description: self.c.Tr.LcNewBranch,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Branches.MergeIntoCurrentBranch),
- Handler: opts.Guards.OutsideFilterMode(self.handleMergeRemoteBranch),
- Description: self.c.Tr.LcMergeIntoCurrentBranch,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Universal.Remove),
- Handler: self.handleDeleteRemoteBranch,
- Description: self.c.Tr.LcDeleteBranch,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Branches.RebaseBranch),
- Handler: opts.Guards.OutsideFilterMode(self.handleRebaseOntoRemoteBranch),
- Description: self.c.Tr.LcRebaseBranch,
- },
- {
- ViewName: "branches",
- Contexts: []string{string(context.REMOTE_BRANCHES_CONTEXT_KEY)},
- Key: opts.GetKey(opts.Config.Branches.SetUpstream),
- Handler: self.handleSetBranchUpstream,
- Description: self.c.Tr.LcSetUpstream,
- },
- {
ViewName: "status",
Key: gocui.MouseLeft,
Modifier: gocui.ModNone,