summaryrefslogtreecommitdiffstats
path: root/pkg/config/user_config.go
diff options
context:
space:
mode:
authorJens Pfeifle <jens@pfeifle.tech>2022-04-22 16:01:30 +0200
committerJesse Duffield <jessedduffield@gmail.com>2022-05-08 13:29:56 +1000
commit7c573a5bea37cefd4ab036ac23d9dd45cd4059bd (patch)
treef1fe6f4dceeb1f14a7add963dacf0e969b4c4ef7 /pkg/config/user_config.go
parent8247089e53e851a76147205d72766a264bb00a97 (diff)
Add command to reset the commit author from the commits panel.
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 4a059c0c3..900dd2e97 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -242,6 +242,7 @@ type KeybindingCommitsConfig struct {
MoveDownCommit string `yaml:"moveDownCommit"`
MoveUpCommit string `yaml:"moveUpCommit"`
AmendToCommit string `yaml:"amendToCommit"`
+ ResetCommitAuthor string `yaml:"resetCommitAuthor"`
PickCommit string `yaml:"pickCommit"`
RevertCommit string `yaml:"revertCommit"`
CherryPickCopy string `yaml:"cherryPickCopy"`
@@ -513,6 +514,7 @@ func GetDefaultConfig() *UserConfig {
MoveDownCommit: "<c-j>",
MoveUpCommit: "<c-k>",
AmendToCommit: "A",
+ ResetCommitAuthor: "a",
PickCommit: "p",
RevertCommit: "t",
CherryPickCopy: "c",