diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-02 15:08:15 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 1a5f380c00d218712dce1225d7948e3d81cda248 (patch) | |
tree | 1e38f26404547443906b724953b4186a6089261c /pkg/gui/editors.go | |
parent | b4827a98ca43bea26df5c7ae24135db4528ed467 (diff) |
support alt-enter for inserting newline when typing commit message within the app
Diffstat (limited to 'pkg/gui/editors.go')
-rw-r--r-- | pkg/gui/editors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/editors.go b/pkg/gui/editors.go index 0cddd1385..7d3054cd0 100644 --- a/pkg/gui/editors.go +++ b/pkg/gui/editors.go @@ -11,7 +11,7 @@ import ( func (gui *Gui) commitMessageEditor(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier) bool { newlineKey, ok := gui.getKey(gui.Config.GetUserConfig().Keybinding.Universal.AppendNewline).(gocui.Key) if !ok { - newlineKey = gocui.KeyTab + newlineKey = gocui.KeyAltEnter } matched := true |