mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
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.
This commit is contained in:
committed by
Stefan Haller
parent
b8f4cd0ef6
commit
744519de60
@ -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{},
|
||||
|
Reference in New Issue
Block a user