diff options
author | Luka Markušić <luka.markusic@microblink.com> | 2022-03-24 21:04:33 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-26 17:22:42 +1100 |
commit | 540edb0bf46df2dce32f9bcc554c482cfa0cbc7b (patch) | |
tree | 290512e4a9c2b7dd61b9a4b0629861ed48b949ef /pkg/config | |
parent | bbaa651943a4b699df4c359a699a677721fd923b (diff) |
Add copy commit attributes option
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 51f443243..988673f1e 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -229,28 +229,28 @@ type KeybindingBranchesConfig struct { } type KeybindingCommitsConfig struct { - SquashDown string `yaml:"squashDown"` - RenameCommit string `yaml:"renameCommit"` - RenameCommitWithEditor string `yaml:"renameCommitWithEditor"` - ViewResetOptions string `yaml:"viewResetOptions"` - MarkCommitAsFixup string `yaml:"markCommitAsFixup"` - CreateFixupCommit string `yaml:"createFixupCommit"` - SquashAboveCommits string `yaml:"squashAboveCommits"` - MoveDownCommit string `yaml:"moveDownCommit"` - MoveUpCommit string `yaml:"moveUpCommit"` - AmendToCommit string `yaml:"amendToCommit"` - PickCommit string `yaml:"pickCommit"` - RevertCommit string `yaml:"revertCommit"` - CherryPickCopy string `yaml:"cherryPickCopy"` - CherryPickCopyRange string `yaml:"cherryPickCopyRange"` - PasteCommits string `yaml:"pasteCommits"` - TagCommit string `yaml:"tagCommit"` - CheckoutCommit string `yaml:"checkoutCommit"` - ResetCherryPick string `yaml:"resetCherryPick"` - CopyCommitMessageToClipboard string `yaml:"copyCommitMessageToClipboard"` - OpenLogMenu string `yaml:"openLogMenu"` - OpenInBrowser string `yaml:"openInBrowser"` - ViewBisectOptions string `yaml:"viewBisectOptions"` + SquashDown string `yaml:"squashDown"` + RenameCommit string `yaml:"renameCommit"` + RenameCommitWithEditor string `yaml:"renameCommitWithEditor"` + ViewResetOptions string `yaml:"viewResetOptions"` + MarkCommitAsFixup string `yaml:"markCommitAsFixup"` + CreateFixupCommit string `yaml:"createFixupCommit"` + SquashAboveCommits string `yaml:"squashAboveCommits"` + MoveDownCommit string `yaml:"moveDownCommit"` + MoveUpCommit string `yaml:"moveUpCommit"` + AmendToCommit string `yaml:"amendToCommit"` + PickCommit string `yaml:"pickCommit"` + RevertCommit string `yaml:"revertCommit"` + CherryPickCopy string `yaml:"cherryPickCopy"` + CherryPickCopyRange string `yaml:"cherryPickCopyRange"` + PasteCommits string `yaml:"pasteCommits"` + TagCommit string `yaml:"tagCommit"` + CheckoutCommit string `yaml:"checkoutCommit"` + ResetCherryPick string `yaml:"resetCherryPick"` + CopyCommitAttributeToClipboard string `yaml:"copyCommitAttributeToClipboard"` + OpenLogMenu string `yaml:"openLogMenu"` + OpenInBrowser string `yaml:"openInBrowser"` + ViewBisectOptions string `yaml:"viewBisectOptions"` } type KeybindingStashConfig struct { @@ -496,28 +496,28 @@ func GetDefaultConfig() *UserConfig { FetchRemote: "f", }, Commits: KeybindingCommitsConfig{ - SquashDown: "s", - RenameCommit: "r", - RenameCommitWithEditor: "R", - ViewResetOptions: "g", - MarkCommitAsFixup: "f", - CreateFixupCommit: "F", - SquashAboveCommits: "S", - MoveDownCommit: "<c-j>", - MoveUpCommit: "<c-k>", - AmendToCommit: "A", - PickCommit: "p", - RevertCommit: "t", - CherryPickCopy: "c", - CherryPickCopyRange: "C", - PasteCommits: "v", - TagCommit: "T", - CheckoutCommit: "<space>", - ResetCherryPick: "<c-R>", - CopyCommitMessageToClipboard: "<c-y>", - OpenLogMenu: "<c-l>", - OpenInBrowser: "o", - ViewBisectOptions: "b", + SquashDown: "s", + RenameCommit: "r", + RenameCommitWithEditor: "R", + ViewResetOptions: "g", + MarkCommitAsFixup: "f", + CreateFixupCommit: "F", + SquashAboveCommits: "S", + MoveDownCommit: "<c-j>", + MoveUpCommit: "<c-k>", + AmendToCommit: "A", + PickCommit: "p", + RevertCommit: "t", + CherryPickCopy: "c", + CherryPickCopyRange: "C", + PasteCommits: "v", + TagCommit: "T", + CheckoutCommit: "<space>", + ResetCherryPick: "<c-R>", + CopyCommitAttributeToClipboard: "y", + OpenLogMenu: "<c-l>", + OpenInBrowser: "o", + ViewBisectOptions: "b", }, Stash: KeybindingStashConfig{ PopStash: "g", |