summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-25 09:07:16 +1000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2020-08-24 23:08:05 +0000
commit3ebb91c07a2242e56db810371bc55cbab589209b (patch)
treed8f6b9b35299331eb742fceada1047237b0defb1 /pkg/gui
parent771e87ebeb97dbace95f9cdb16202ce30129157c (diff)
better keybinding ('W') for viewing diffv0.22.0
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/keybindings.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 9bd27fa0b..1582e796b 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -1038,6 +1038,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Description: gui.Tr.SLocalize("openDiffingMenu"),
},
{
+ ViewName: "",
+ Key: gui.getKey("universal.diffingMenu-alt"),
+ Handler: gui.handleCreateDiffingMenuPanel,
+ Description: gui.Tr.SLocalize("openDiffingMenu"),
+ },
+ {
ViewName: "secondary",
Key: gocui.MouseWheelUp,
Modifier: gocui.ModNone,