mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Add config option to disable tab switching with jump keys
This commit is contained in:
committed by
Jesse Duffield
parent
7edf629eeb
commit
8da43af924
@ -49,7 +49,8 @@ func (self *JumpToSideWindowController) GetKeybindings(opts types.KeybindingsOpt
|
||||
|
||||
func (self *JumpToSideWindowController) goToSideWindow(window string) func() error {
|
||||
return func() error {
|
||||
if self.c.Helpers().Window.CurrentWindow() == window {
|
||||
sideWindowAlreadyActive := self.c.Helpers().Window.CurrentWindow() == window
|
||||
if sideWindowAlreadyActive && self.c.UserConfig().Gui.SwitchTabsWithPanelJumpKeys {
|
||||
return self.nextTabFunc()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user