summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-10-13 08:16:24 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-10-13 08:21:09 +1100
commitb1dd3c48660edea68169779eb860e244b8992427 (patch)
treebca9891e51e6d920b61e487bac1d577c42822989 /pkg/gui/keybindings.go
parent624fb8da21c644fe79c9c11848930f8ff4b6dede (diff)
support rebinding confirm/newline keys in editor
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index ba3e7a509..2f005a442 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -971,7 +971,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
},
{
ViewName: "commitMessage",
- Key: gui.getKey(config.Universal.Confirm),
+ Key: gui.getKey(config.Universal.SubmitEditorText),
Modifier: gocui.ModNone,
Handler: gui.handleCommitConfirm,
},