diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-13 08:16:24 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-13 08:21:09 +1100 |
commit | b1dd3c48660edea68169779eb860e244b8992427 (patch) | |
tree | bca9891e51e6d920b61e487bac1d577c42822989 /pkg/config | |
parent | 624fb8da21c644fe79c9c11848930f8ff4b6dede (diff) |
support rebinding confirm/newline keys in editor
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 0376fd0fa..d8514db11 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -144,6 +144,8 @@ type KeybindingUniversalConfig struct { DiffingMenu string `yaml:"diffingMenu"` DiffingMenuAlt string `yaml:"diffingMenu-alt"` CopyToClipboard string `yaml:"copyToClipboard"` + SubmitEditorText string `yaml:"submitEditorText"` + AppendNewline string `yaml:"appendNewline"` } type KeybindingStatusConfig struct { @@ -360,6 +362,8 @@ func GetDefaultConfig() *UserConfig { DiffingMenu: "W", DiffingMenuAlt: "<c-e>", CopyToClipboard: "<c-o>", + SubmitEditorText: "<enter>", + AppendNewline: "<tab>", }, Status: KeybindingStatusConfig{ CheckForUpdate: "u", |