---
source: zellij-utils/src/setup.rs
assertion_line: 784
expression: "format!(\"{:#?}\", config)"
---
Config {
    keybinds: {
        Normal: {
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
        },
        Locked: {
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Resize: {
            Left: [
                Resize(
                    Increase,
                    Some(
                        Left,
                    ),
                ),
            ],
            Down: [
                Resize(
                    Increase,
                    Some(
                        Down,
                    ),
                ),
            ],
            Up: [
                Resize(
                    Increase,
                    Some(
                        Up,
                    ),
                ),
            ],
            Right: [
                Resize(
                    Increase,
                    Some(
                        Right,
                    ),
                ),
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '+',
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Char(
                '-',
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Char(
                '=',
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Char(
                'H',
            ): [
                Resize(
                    Decrease,
                    Some(
                        Left,
                    ),
                ),
            ],
            Char(
                'J',
            ): [
                Resize(
                    Decrease,
                    Some(
                        Down,
                    ),
                ),
            ],
            Char(
                'K',
            ): [
                Resize(
                    Decrease,
                    Some(
                        Up,
                    ),
                ),
            ],
            Char(
                'L',
            ): [
                Resize(
                    Decrease,
                    Some(
                        Right,
                    ),
                ),
            ],
            Char(
                'h',
            ): [
                Resize(
                    Increase,
                    Some(
                        Left,
                    ),
                ),
            ],
            Char(
                'j',
            ): [
                Resize(
                    Increase,
                    Some(
                        Down,
                    ),
                ),
            ],
            Char(
                'k',
            ): [
                Resize(
                    Increase,
                    Some(
                        Up,
                    ),
                ),
            ],
            Char(
                'l',
            ): [
                Resize(
                    Increase,
                    Some(
                        Right,
                    ),
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Pane: {
            Left: [
                MoveFocus(
                    Left,
                ),
            ],
            Down: [
                MoveFocus(
                    Down,
                ),
            ],
            Up: [
                MoveFocus(
                    Up,
                ),
            ],
            Right: [
                MoveFocus(
                    Right,
                ),
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'c',
            ): [
                SwitchToMode(
                    RenamePane,
                ),
                PaneNameInput(
                    [
                        0,
                    ],
                ),
            ],
            Char(
                'd',
            ): [
                NewPane(
                    Some(
                        Down,
                    ),
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'e',
            ): [
                TogglePaneEmbedOrFloating,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'f',
            ): [
                ToggleFocusFullscreen,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'h',
            ): [
                MoveFocus(
                    Left,
                ),
            ],
            Char(
                'j',
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Char(
                'k',
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Char(
                'l',
            ): [
                MoveFocus(
                    Right,
                ),
            ],
            Char(
                'n',
            ): [
                NewPane(
                    None,
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'p',
            ): [
                SwitchFocus,
            ],
            Char(
                'r',
            ): [
                NewPane(
                    Some(
                        Right,
                    ),
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'w',
            ): [
                ToggleFloatingPanes,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'x',
            ): [
                CloseFocus,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'z',
            ): [
                TogglePaneFrames,
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Tab: {
            Left: [
                GoToPreviousTab,
            ],
            Down: [
                GoToNextTab,
            ],
            Up: [
                GoToPreviousTab,
            ],
            Right: [
                GoToNextTab,
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '1',
            ): [
                GoToTab(
                    1,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '2',
            ): [
                GoToTab(
                    2,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '3',
            ): [
                GoToTab(
                    3,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '4',
            ): [
                GoToTab(
                    4,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '5',
            ): [
                GoToTab(
                    5,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '6',
            ): [
                GoToTab(
                    6,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '7',
            ): [
                GoToTab(
                    7,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '8',
            ): [
                GoToTab(
                    8,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '9',
            ): [
                GoToTab(
                    9,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '[',
            ): [
                BreakPaneLeft,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                ']',
            ): [
                BreakPaneRight,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'b',
            ): [
                BreakPane,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'h',
            ): [
                GoToPreviousTab,
            ],
            Char(
                'j',
            ): [
                GoToNextTab,
            ],
            Char(
                'k',
            ): [
                GoToPreviousTab,
            ],
            Char(
                'l',
            ): [
                GoToNextTab,
            ],
            Char(
                'n',
            ): [
                NewTab(
                    None,
                    [],
                    None,
                    None,
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'r',
            ): [
                SwitchToMode(
                    RenameTab,
                ),
                TabNameInput(
                    [
                        0,
                    ],
                ),
            ],
            Char(
                's',
            ): [
                ToggleActiveSyncTab,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'x',
            ): [
                CloseTab,
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            BackTab: [
                ToggleTab,
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Scroll: {
            PageDown: [
                PageScrollDown,
            ],
            PageUp: [
                PageScrollUp,
            ],
            Left: [
                PageScrollUp,
            ],
            Down: [
                ScrollDown,
            ],
            Up: [
                ScrollUp,
            ],
            Right: [
                PageScrollDown,
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'd',
            ): [
                HalfPageScrollDown,
            ],
            Char(
                'e',
            ): [
                EditScrollback,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'h',
            ): [
                PageScrollUp,
            ],
            Char(
                'j',
            ): [
                ScrollDown,
            ],
            Char(
                'k',
            ): [
                ScrollUp,
            ],
            Char(
                'l',
            ): [
                PageScrollDown,
            ],
            Char(
                's',
            ): [
                SwitchToMode(
                    EnterSearch,
                ),
                SearchInput(
                    [
                        0,
                    ],
                ),
            ],
            Char(
                'u',
            ): [
                HalfPageScrollUp,
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                PageScrollUp,
            ],
            Ctrl(
                'c',
            ): [
                ScrollToBottom,
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'f',
            ): [
                PageScrollDown,
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        EnterSearch: {
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Search,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'c',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Scroll,
                ),
            ],
        },
        Search: {
            PageDown: [
                PageScrollDown,
            ],
            PageUp: [
                PageScrollUp,
            ],
            Left: [
                PageScrollUp,
            ],
            Down: [
                ScrollDown,
            ],
            Up: [
                ScrollUp,
            ],
            Right: [
                PageScrollDown,
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'c',
            ): [
                SearchToggleOption(
                    CaseSensitivity,
                ),
            ],
            Char(
                'd',
            ): [
                HalfPageScrollDown,
            ],
            Char(
                'h',
            ): [
                PageScrollUp,
            ],
            Char(
                'j',
            ): [
                ScrollDown,
            ],
            Char(
                'k',
            ): [
                ScrollUp,
            ],
            Char(
                'l',
            ): [
                PageScrollDown,
            ],
            Char(
                'n',
            ): [
                Search(
                    Down,
                ),
            ],
            Char(
                'o',
            ): [
                SearchToggleOption(
                    WholeWord,
                ),
            ],
            Char(
                'p',
            ): [
                Search(
                    Up,
                ),
            ],
            Char(
                'u',
            ): [
                HalfPageScrollUp,
            ],
            Char(
                'w',
            ): [
                SearchToggleOption(
                    Wrap,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                PageScrollUp,
            ],
            Ctrl(
                'c',
            ): [
                ScrollToBottom,
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'f',
            ): [
                PageScrollDown,
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        RenameTab: {
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'c',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                UndoRenameTab,
                SwitchToMode(
                    Tab,
                ),
            ],
        },
        RenamePane: {
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'c',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                UndoRenamePane,
                SwitchToMode(
                    Pane,
                ),
            ],
        },
        Session: {
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'd',
            ): [
                Detach,
            ],
            Char(
                'w',
            ): [
                LaunchOrFocusPlugin(
                    RunPlugin(
                        RunPlugin {
                            _allow_exec_host_cmd: false,
                            location: Zellij(
                                PluginTag(
                                    "session-manager",
                                ),
                            ),
                            configuration: PluginUserConfiguration(
                                {},
                            ),
                        },
                    ),
                    true,
                    true,
                    false,
                    false,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Move: {
            Left: [
                MovePane(
                    Some(
                        Left,
                    ),
                ),
            ],
            Down: [
                MovePane(
                    Some(
                        Down,
                    ),
                ),
            ],
            Up: [
                MovePane(
                    Some(
                        Up,
                    ),
                ),
            ],
            Right: [
                MovePane(
                    Some(
                        Right,
                    ),
                ),
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'h',
            ): [
                MovePane(
                    Some(
                        Left,
                    ),
                ),
            ],
            Char(
                'j',
            ): [
                MovePane(
                    Some(
                        Down,
                    ),
                ),
            ],
            Char(
                'k',
            ): [
                MovePane(
                    Some(
                        Up,
                    ),
                ),
            ],
            Char(
                'l',
            ): [
                MovePane(
                    Some(
                        Right,
                    ),
                ),
            ],
            Char(
                'n',
            ): [
                MovePane(
                    None,
                ),
            ],
            Char(
                'p',
            ): [
                MovePaneBackwards,
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            BackTab: [
                MovePane(
                    None,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Prompt: {
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                SwitchToMode(
                    Tmux,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
        Tmux: {
            Left: [
                MoveFocus(
                    Left,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Down: [
                MoveFocus(
                    Down,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Up: [
                MoveFocus(
                    Up,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Right: [
                MoveFocus(
                    Right,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '\n',
            ): [
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                ' ',
            ): [
                NextSwapLayout,
            ],
            Char(
                '"',
            ): [
                NewPane(
                    Some(
                        Down,
                    ),
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                '%',
            ): [
                NewPane(
                    Some(
                        Right,
                    ),
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                ',',
            ): [
                SwitchToMode(
                    RenameTab,
                ),
            ],
            Char(
                '[',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Char(
                'c',
            ): [
                NewTab(
                    None,
                    [],
                    None,
                    None,
                    None,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'd',
            ): [
                Detach,
            ],
            Char(
                'h',
            ): [
                MoveFocus(
                    Left,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'j',
            ): [
                MoveFocus(
                    Down,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'k',
            ): [
                MoveFocus(
                    Up,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'l',
            ): [
                MoveFocus(
                    Right,
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'n',
            ): [
                GoToNextTab,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'o',
            ): [
                FocusNextPane,
            ],
            Char(
                'p',
            ): [
                GoToPreviousTab,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'x',
            ): [
                CloseFocus,
                SwitchToMode(
                    Normal,
                ),
            ],
            Char(
                'z',
            ): [
                ToggleFocusFullscreen,
                SwitchToMode(
                    Normal,
                ),
            ],
            Alt(
                Char(
                    '+',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '-',
                ),
            ): [
                Resize(
                    Decrease,
                    None,
                ),
            ],
            Alt(
                Char(
                    '=',
                ),
            ): [
                Resize(
                    Increase,
                    None,
                ),
            ],
            Alt(
                Char(
                    '[',
                ),
            ): [
                PreviousSwapLayout,
            ],
            Alt(
                Char(
                    ']',
                ),
            ): [
                NextSwapLayout,
            ],
            Alt(
                Char(
                    'h',
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'i',
                ),
            ): [
                MoveTab(
                    Left,
                ),
            ],
            Alt(
                Char(
                    'j',
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Alt(
                Char(
                    'k',
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Char(
                    'l',
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Char(
                    'n',
                ),
            ): [
                NewPane(
                    None,
                    None,
                ),
            ],
            Alt(
                Char(
                    'o',
                ),
            ): [
                MoveTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Left,
                ),
            ): [
                MoveFocusOrTab(
                    Left,
                ),
            ],
            Alt(
                Direction(
                    Right,
                ),
            ): [
                MoveFocusOrTab(
                    Right,
                ),
            ],
            Alt(
                Direction(
                    Up,
                ),
            ): [
                MoveFocus(
                    Up,
                ),
            ],
            Alt(
                Direction(
                    Down,
                ),
            ): [
                MoveFocus(
                    Down,
                ),
            ],
            Ctrl(
                'b',
            ): [
                Write(
                    [
                        2,
                    ],
                ),
                SwitchToMode(
                    Normal,
                ),
            ],
            Ctrl(
                'g',
            ): [
                SwitchToMode(
                    Locked,
                ),
            ],
            Ctrl(
                'h',
            ): [
                SwitchToMode(
                    Move,
                ),
            ],
            Ctrl(
                'n',
            ): [
                SwitchToMode(
                    Resize,
                ),
            ],
            Ctrl(
                'o',
            ): [
                SwitchToMode(
                    Session,
                ),
            ],
            Ctrl(
                'p',
            ): [
                SwitchToMode(
                    Pane,
                ),
            ],
            Ctrl(
                'q',
            ): [
                Quit,
            ],
            Ctrl(
                's',
            ): [
                SwitchToMode(
                    Scroll,
                ),
            ],
            Ctrl(
                't',
            ): [
                SwitchToMode(
                    Tab,
                ),
            ],
            Esc: [
                SwitchToMode(
                    Normal,
                ),
            ],
        },
    },
    options: Options {
        simplified_ui: None,
        theme: None,
        default_mode: None,
        default_shell: None,
        default_cwd: None,
        default_layout: None,
        layout_dir: None,
        theme_dir: None,
        mouse_mode: None,
        pane_frames: None,
        mirror_session: None,
        on_force_close: None,
        scroll_buffer_size: None,
        copy_command: None,
        copy_clipboard: None,
        copy_on_select: None,
        scrollback_editor: None,
        session_name: None,
        attach_to_session: None,
        auto_layout: None,
        session_serialization: None,
        serialize_pane_viewport: None,
        scrollback_lines_to_serialize: None,
        styled_underlines: None,
        serialization_interval: None,
    },
    themes: {},
    plugins: {
        PluginTag(
            "compact-bar",
        ): PluginConfig {
            path: "compact-bar",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "compact-bar",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
        PluginTag(
            "session-manager",
        ): PluginConfig {
            path: "session-manager",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "session-manager",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
        PluginTag(
            "some-other-plugin",
        ): PluginConfig {
            path: "i-am-defined-in-the-layout",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "some-other-plugin",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
        PluginTag(
            "status-bar",
        ): PluginConfig {
            path: "status-bar",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "status-bar",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
        PluginTag(
            "strider",
        ): PluginConfig {
            path: "strider",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "strider",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
        PluginTag(
            "tab-bar",
        ): PluginConfig {
            path: "tab-bar-from-layout",
            run: Pane(
                None,
            ),
            _allow_exec_host_cmd: false,
            location: Zellij(
                PluginTag(
                    "tab-bar",
                ),
            ),
            userspace_configuration: PluginUserConfiguration(
                {},
            ),
        },
    },
    ui: UiConfig {
        pane_frames: FrameConfig {
            rounded_corners: false,
            hide_session_name: false,
        },
    },
    env: {},
}
