summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorFarzad Majidfayyaz <farzadmf@users.noreply.github.com>2020-11-10 14:57:50 -0500
committerJesse Duffield <jessedduffield@gmail.com>2020-11-19 09:43:51 +1100
commit79888d3bdeae57bad17db4b0716a5f59e7c2df31 (patch)
treec09b9598e7e36d56e82bb55fa49e7f8612dbf9bf /pkg/config
parent4e1d3e45a3bfb3b7df5badb551df45c39b9d5c9f (diff)
Add mapping to copy a pull request URL to the clipboard
Diffstat (limited to 'pkg/config')
-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 d8514db11..be13eaeff 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -169,6 +169,7 @@ type KeybindingFilesConfig struct {
type KeybindingBranchesConfig struct {
CreatePullRequest string `yaml:"createPullRequest"`
+ CopyPullRequestURL string `yaml:"copyPullRequestURL"`
CheckoutBranchByName string `yaml:"checkoutBranchByName"`
ForceCheckoutBranch string `yaml:"forceCheckoutBranch"`
RebaseBranch string `yaml:"rebaseBranch"`
@@ -383,6 +384,7 @@ func GetDefaultConfig() *UserConfig {
Fetch: "f",
},
Branches: KeybindingBranchesConfig{
+ CopyPullRequestURL: "c",
CreatePullRequest: "o",
CheckoutBranchByName: "c",
ForceCheckoutBranch: "F",