summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorAbhishek Keshri <iam2kabhishek@gmail.com>2023-10-28 23:13:13 +0530
committerStefan Haller <stefan@haller-berlin.de>2024-03-11 09:18:40 +0100
commit744519de6016e2d65ca28129e3ad9d6accc76fb8 (patch)
treed49e119d6a0bdcaaad45ed083ad0e75c929b7c82 /pkg/config
parentb8f4cd0ef67c9d7842cc20fd346c8decdb65be2f (diff)
Add a commit menu to the commit message panel
And move the "switch to editor" command into this menu. So far this is the only entry, but we'll add another one in the next commit.
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 6045edbe8..2cbb15ce4 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -469,7 +469,7 @@ type KeybindingSubmodulesConfig struct {
}
type KeybindingCommitMessageConfig struct {
- SwitchToEditor string `yaml:"switchToEditor"`
+ CommitMenu string `yaml:"commitMenu"`
}
// OSConfig contains config on the level of the os
@@ -866,7 +866,7 @@ func GetDefaultConfig() *UserConfig {
BulkMenu: "b",
},
CommitMessage: KeybindingCommitMessageConfig{
- SwitchToEditor: "<c-o>",
+ CommitMenu: "<c-o>",
},
},
OS: OSConfig{},