diff options
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index a64bb2965..2dfdedf61 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -403,6 +403,38 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.SLocalize("FastForward"), }, { + ViewName: "branches", + Contexts: []string{"tags"}, + Key: gocui.KeySpace, + Modifier: gocui.ModNone, + Handler: gui.handleCheckoutTag, + Description: gui.Tr.SLocalize("checkout"), + }, + { + ViewName: "branches", + Contexts: []string{"tags"}, + Key: 'd', + Modifier: gocui.ModNone, + Handler: gui.handleDeleteTag, + Description: gui.Tr.SLocalize("deleteTag"), + }, + { + ViewName: "branches", + Contexts: []string{"tags"}, + Key: 'P', + Modifier: gocui.ModNone, + Handler: gui.handlePushTag, + Description: gui.Tr.SLocalize("pushTags"), + }, + { + ViewName: "branches", + Contexts: []string{"tags"}, + Key: 'n', + Modifier: gocui.ModNone, + Handler: gui.handleCreateTag, + Description: gui.Tr.SLocalize("createTag"), + }, + { ViewName: "branches", Key: ']', Modifier: gocui.ModNone, @@ -556,6 +588,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.SLocalize("CommitsDiff"), }, { + ViewName: "commits", + Key: 'T', + Modifier: gocui.ModNone, + Handler: gui.handleTagCommit, + Description: gui.Tr.SLocalize("tagCommit"), + }, + { ViewName: "stash", Key: gocui.KeySpace, Modifier: gocui.ModNone, |