summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-11 23:32:20 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-12 21:48:08 +1000
commit3b7e7a7f56f3e89b7a0bc9b7674901b1b672d213 (patch)
treec5e3ed71386afe503997a17e0abb28058caf083b /pkg/config
parent06a8eb115c100816e3ceccff875010a84416beee (diff)
add random tip to command log
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 7fd26a708..1d1f42b68 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -103,6 +103,7 @@ type KeybindingConfig struct {
Submodules KeybindingSubmodulesConfig `yaml:"submodules"`
}
+// damn looks like we have some inconsistencies here with -alt and -alt1
type KeybindingUniversalConfig struct {
Quit string `yaml:"quit"`
QuitAlt1 string `yaml:"quit-alt1"`
@@ -121,6 +122,8 @@ type KeybindingUniversalConfig struct {
NextBlock string `yaml:"nextBlock"`
PrevBlockAlt string `yaml:"prevBlock-alt"`
NextBlockAlt string `yaml:"nextBlock-alt"`
+ NextBlockAlt2 string `yaml:"nextBlock-alt2"`
+ PrevBlockAlt2 string `yaml:"prevBlock-alt2"`
NextMatch string `yaml:"nextMatch"`
PrevMatch string `yaml:"prevMatch"`
StartSearch string `yaml:"startSearch"`
@@ -352,6 +355,8 @@ func GetDefaultConfig() *UserConfig {
NextBlock: "<right>",
PrevBlockAlt: "h",
NextBlockAlt: "l",
+ PrevBlockAlt2: "<backtab>",
+ NextBlockAlt2: "<tab>",
NextMatch: "n",
PrevMatch: "N",
StartSearch: "/",