summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-03-21 08:41:06 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-03-30 21:57:00 +1100
commitda6fe01eca531635c09627c60bd38d49bb092906 (patch)
tree79ecf551adaee34fccabaa60f3d083c7792a25a0 /pkg/config
parentc27cea6f30c35328a24bb4fb7db4f002ab544ad3 (diff)
allow toggling on/off file tree mode
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 9d77dbdee..c8093943e 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -175,6 +175,7 @@ type KeybindingFilesConfig struct {
ToggleStagedAll string `yaml:"toggleStagedAll"`
ViewResetOptions string `yaml:"viewResetOptions"`
Fetch string `yaml:"fetch"`
+ ToggleTreeView string `yaml:"toggleTreeView"`
}
type KeybindingBranchesConfig struct {
@@ -398,6 +399,7 @@ func GetDefaultConfig() *UserConfig {
ToggleStagedAll: "a",
ViewResetOptions: "D",
Fetch: "f",
+ ToggleTreeView: "`",
},
Branches: KeybindingBranchesConfig{
CopyPullRequestURL: "<c-y>",