mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
Change switchTabsWithPanelJumpKeys default to true
This commit is contained in:
parent
66caa25dcd
commit
fb3d99a8ce
5 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -798,7 +798,7 @@ func GetDefaultConfig() *UserConfig {
|
|||
StatusPanelView: "dashboard",
|
||||
SwitchToFilesAfterStashPop: true,
|
||||
SwitchToFilesAfterStashApply: true,
|
||||
SwitchTabsWithPanelJumpKeys: false,
|
||||
SwitchTabsWithPanelJumpKeys: true,
|
||||
},
|
||||
Git: GitConfig{
|
||||
Paging: PagingConfig{
|
||||
|
|
|
@ -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) {
|
||||
},
|
||||
|
|
|
@ -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) {
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue