summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-28 13:31:20 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-12-29 09:01:06 +1100
commitf89747451a609484bea0b2b5a004a6c3da66aaeb (patch)
tree7704496218abfa9319a8ca39436aae9976b176f2 /pkg/config
parent8a76b5a4ee0a02cdad2fdf41a773ccc7ca504cc2 (diff)
allow opening a commit in the browser
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 bcf0374cd..8c1d90a0e 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -246,6 +246,7 @@ type KeybindingCommitsConfig struct {
ResetCherryPick string `yaml:"resetCherryPick"`
CopyCommitMessageToClipboard string `yaml:"copyCommitMessageToClipboard"`
OpenLogMenu string `yaml:"openLogMenu"`
+ OpenInBrowser string `yaml:"openInBrowser"`
}
type KeybindingStashConfig struct {
@@ -508,6 +509,7 @@ func GetDefaultConfig() *UserConfig {
ResetCherryPick: "<c-R>",
CopyCommitMessageToClipboard: "<c-y>",
OpenLogMenu: "<c-l>",
+ OpenInBrowser: "o",
},
Stash: KeybindingStashConfig{
PopStash: "g",