Change switchTabsWithPanelJumpKeys default to true

This commit is contained in:
Alexandre Pereira 2025-04-26 10:30:26 +01:00
parent 66caa25dcd
commit fb3d99a8ce
5 changed files with 5 additions and 5 deletions

View file

@ -279,7 +279,7 @@ gui:
switchToFilesAfterStashApply: true
# If true, when using the panel jump keys (default 1 through 5) and target panel is already active, go to next tab instead
switchTabsWithPanelJumpKeys: false
switchTabsWithPanelJumpKeys: true
# Config relating to git
git:

View file

@ -798,7 +798,7 @@ func GetDefaultConfig() *UserConfig {
StatusPanelView: "dashboard",
SwitchToFilesAfterStashPop: true,
SwitchToFilesAfterStashApply: true,
SwitchTabsWithPanelJumpKeys: false,
SwitchTabsWithPanelJumpKeys: true,
},
Git: GitConfig{
Paging: PagingConfig{

View file

@ -6,10 +6,11 @@ import (
)
var DisableSwitchTabWithPanelJumpKeys = NewIntegrationTest(NewIntegrationTestArgs{
Description: "Verify that the tab does not change by default when jumping to an already focused panel",
Description: "Verify that the tab does not change when jumping to an already focused panel with the config SwitchTabsWithPanelJumpKeys to false",
ExtraCmdArgs: []string{},
Skip: false,
SetupConfig: func(config *config.AppConfig) {
config.GetUserConfig().Gui.SwitchTabsWithPanelJumpKeys = false
},
SetupRepo: func(shell *Shell) {
},

View file

@ -10,7 +10,6 @@ var SwitchTabWithPanelJumpKeys = NewIntegrationTest(NewIntegrationTestArgs{
ExtraCmdArgs: []string{},
Skip: false,
SetupConfig: func(config *config.AppConfig) {
config.GetUserConfig().Gui.SwitchTabsWithPanelJumpKeys = true
},
SetupRepo: func(shell *Shell) {
},

View file

@ -728,7 +728,7 @@
"switchTabsWithPanelJumpKeys": {
"type": "boolean",
"description": "If true, when using the panel jump keys (default 1 through 5) and target panel is already active, go to next tab instead",
"default": false
"default": true
}
},
"additionalProperties": false,