allow opening a commit in the browser

This commit is contained in:
Jesse Duffield
2021-12-28 13:31:20 +11:00
parent 8a76b5a4ee
commit f89747451a
8 changed files with 219 additions and 101 deletions

View File

@@ -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",