From 1f24417e809ba808b7b15b2f1fec69be209d7e1b Mon Sep 17 00:00:00 2001 From: fenix Date: Sun, 25 Apr 2021 08:41:19 -0700 Subject: [PATCH] Corrections to Pull Request 362: Corrections according to the discussion of the pull request, namely separating this idea out into a new yaml entirely called tmux-overview., and creating a tmux.yaml with just the new tmux bindings. --- example/default.yaml | 6 +- example/tmux-overview.yaml | 386 +++++++++++++++++++++++++++++++++++++ example/tmux.yaml | 191 +----------------- 3 files changed, 394 insertions(+), 189 deletions(-) create mode 100644 example/tmux-overview.yaml diff --git a/example/default.yaml b/example/default.yaml index f0bbc79e..0decd5f1 100644 --- a/example/default.yaml +++ b/example/default.yaml @@ -45,13 +45,13 @@ keybinds: - action: [Quit] key: [Ctrl: 'q'] - action: [Resize: Left,] - key: [Char: 'h', Left, ] + key: [Char: 'h', Left,] - action: [Resize: Down,] - key: [Char: 'j', Down, ] + key: [Char: 'j', Down,] - action: [Resize: Up,] key: [Char: 'k', Up, ] - action: [Resize: Right,] - key: [Char: 'l', Right, ] + key: [Char: 'l', Right,] - action: [NewPane: ,] key: [ Alt: 'n',] - action: [MoveFocus: Left,] diff --git a/example/tmux-overview.yaml b/example/tmux-overview.yaml new file mode 100644 index 00000000..887a84ad --- /dev/null +++ b/example/tmux-overview.yaml @@ -0,0 +1,386 @@ +--- +#This file functions as an overview of using tmux binds in place of the lock mode, it currently functions fine in Zellij, but doesn't give the user the opportunity to use lock mode. +keybinds: + unbind: true + normal: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'b',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'r',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's',] + - action: [Quit,] + key: [Ctrl: 'q',] + - action: [NewPane: ] + key: [ Alt: 'n',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + locked: # Functions as the Tmux Mode for now. + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'c',] + tmux: +######### list of tmux actions starts here in same order as exported from tmux 'C-b ?` command. ######### +######### All Commented Commands have placeholder names for the features if they ever get implemented. ## + #- action: [SendPrefixKey,] + # key: [Ctrl: 'b',] + - action: [FocusNextPane, SwitchToMode: Normal,] + key: [Ctrl: 'o',] + #- action: [SuspendCurrentZellijClient, SwitchToMode: Normal,] + # key: [Ctrl: 'z',] + #- action: [SelectNextLayout, SwitchToMode: Normal,] + # key: [Char: ' '] + #- action: [BreakoutPaneToTab, SwitchToMode: Normal,] + # key: [Char: '!',] + - action: [NewPane: Down, SwitchToMode: Normal,] + key: [Char: '"',] + #- action: [ListPasteBuffers,] + # key: [Char: '#',] + #- action: [SwitchToMode: RenameTab, SessionNameInput: [0],] + # key: [Char: '$'] + - action: [NewPane: Right, SwitchToMode: Normal,] + key: [Char: '%',] + - action: [CloseTab, SwitchToMode: Normal,] + key: [Char: '&',] + #- action: [PaneSelectionMenu, SwitchToMode: Normal,] + # key: [Char: ''',] + #- action: [SwitchToNextClient, SwitchToMode: Normal,] + # key: [Char: '(',] + #- action: [SwitchToPreviousClient, SwitchToMode: Normal,] + # key: [Char: ')',] + #- action: [Rename, SwitchToMode: Normal,] + # key: [Char: ',',] + - action: [SwitchToMode: RenameTab, TabNameInput: [0],] + key: [Char: ','] + #- action: [DeleteRecentPasteBuffer, SwitchToMode: Normal,] + # key: [Char: '-',] + #- action: [MoveTabIndexPosition, SwitchToMode: Normal,] + # key: [Char: '.',] + #- action: [DisplayKeybindAction, SwitchToMode: Normal,] + # key: [Char: '/',] + - action: [GoToTab: 1, SwitchToMode: Normal,] + key: [ Char: '1',] + - action: [GoToTab: 2, SwitchToMode: Normal,] + key: [ Char: '2',] + - action: [GoToTab: 3, SwitchToMode: Normal,] + key: [ Char: '3',] + - action: [GoToTab: 4, SwitchToMode: Normal,] + key: [ Char: '4',] + - action: [GoToTab: 5, SwitchToMode: Normal,] + key: [ Char: '5',] + - action: [GoToTab: 6, SwitchToMode: Normal,] + key: [ Char: '6',] + - action: [GoToTab: 7, SwitchToMode: Normal,] + key: [ Char: '7',] + - action: [GoToTab: 8, SwitchToMode: Normal,] + key: [ Char: '8',] + - action: [GoToTab: 9, SwitchToMode: Normal,] + key: [ Char: '9',] + - action: [GoToTab: 9, SwitchToMode: Normal,] + key: [ Char: '9',] + #- action: [EnterZellijCommandPrompt, SwitchToMode: Normal,] + # key: [ Char: ':',] + #- action: [GoToLastActivePane, SwitchToMode: Normal,] + # key: [ Char: ';',] + #- action: [ChoosePasteBufferItem, SwitchToMode: Normal,] + # key: [ Char: '=',] + #- action: [ListAllKeyBinds,] + # key: [ Char: '?',] + #- action: [SelectClientFromIndex,] + # key: [ Char: 'D',] + #- action: [EqualizePaneSizes,] + # key: [ Char: 'E',] + #- action: [GoToLastActiveClient, SwitchToMode: Normal,] + # key: [ Char: 'L',] + #- action: [ClearCurrentPaneText, SwitchToMode: Normal,] + # key: [ Char: 'M',] + #- action: [SwitchToMode: Copy,] + # key: [ Char: '[',] + #- action: [PasteMostRecentPasteBufferItem, SwitchToMode: Normal,] + # key: [ Char: ']',] + - action: [NewTab, SwitchToMode: Normal,] + key: [ Char: 'c',] + #- action: [DetachClient, Quit,] + # key: [ Char: 'd',] + #- action: [SwitchToMode: PaneWindowIndex,] + # key: [ Char: 'f',] + #- action: [DisplayPaneInformation, SwitchToMode: Normal,] + # key: [ Char: 'i',] + - action: [GoToPreviousTab, SwitchToMode: Normal,] + key: [ Char: 'l',] + #- action: [TogglePane, SwitchToMode: Normal,] + # key: [ Char: 'm',] + - action: [GoToNextTab, SwitchToMode: Normal,] + key: [ Char: 'n',] + - action: [FocusNextPane, SwitchToMode: Normal,] + key: [ Char: 'o',] + - action: [FocusPreviousPane, SwitchToMode: Normal,] + key: [ Char: 'p',] + #- action: [ShowPaneNumbers, SwitchToMode: Normal,] + # key: [ Char: 'q',] + #- action: [OrderClientRedraw, SwitchToMode: Normal,] + # key: [ Char: 'r',] + #- action: [SelectSessionFromIndex, SwitchToMode: Normal,] + # key: [ Char: 's',] + #- action: [ShowClockOnScreen, SwitchToMode: Normal,] + # key: [ Char: 't',] + #- action: [SelectTabFromIndex, SwitchToMode: Normal,] + # key: [ Char: 'w',] + - action: [CloseFocus, SwitchToMode: Normal,] + key: [Char: 'x',] + #- action: [ZoomToPane, SwitchToMode: Normal,] + # key: [ Char: 'z',] + #- action: [SwapPane: Up, SwitchToMode: Normal,] + # key: [ Char: '{',] + #- action: [SwapPane: Down, SwitchToMode: Normal,] + # key: [ Char: '}',] + #- action: [ShowZellijMessages, SwitchToMode: Normal,] + # key: [ Char: '~',] + #- action: [ResetToVisibleCursor, SwitchToMode: Normal,] + # key: [ 'Delete',] + #- action: [SwitchToMode: Copy, PageScrollUpToTop,] + # key: [ 'PageUp',] + - action: [MoveFocus: Left, SwitchToMode: Normal,] + key: [ 'Left',] + - action: [MoveFocus: Right, SwitchToMode: Normal,] + key: [ 'Right',] + - action: [MoveFocus: Down, SwitchToMode: Normal,] + key: [ 'Down',] + - action: [MoveFocus: Up, SwitchToMode: Normal,] + key: [ 'Up',] + #- action: [EvenOutRankPanes: Horizontally, SwitchToMode: Normal,] + # key: [ Alt: '1',] + #- action: [EvenOutRankPanes: Vertically, SwitchToMode: Normal,] + # key: [ Alt: '2',] + #- action: [SetPaneAsMain: Horizontally, SwitchToMode: Normal,] + # key: [ Alt: '3',] + #- action: [SetPaneAsMain: Vertically, SwitchToMode: Normal,] + # key: [ Alt: '4',] + #- action: [SelectTiledLayout, SwitchToMode: Normal,] + # key: [ Alt: '5',] + #- action: [SelectNextTabWithAlert, SwitchToMode: Normal,] + # key: [ Alt: 'n',] + - action: [FocusPreviousPane, SwitchToMode: Normal,] + key: [ Alt: 'o',] + #- action: [SelectNextTabWithAlert, SwitchToMode: Normal,] + # key: [ Alt: 'p',] + #- action: [ResizeIncremental: Up, SwitchToMode: Normal,] + # key: [Alt: 'Up',] + #- action: [ResizeIncremental: Down, SwitchToMode: Normal,] + # key: [Alt: 'Down', + #- action: [ResizeIncremental: Left, SwitchToMode: Normal,] + # key: [Alt: 'Left',] + #- action: [ResizeIncremental: Right, SwitchToMode: Normal,] + # key: [Alt: 'Right',] + #- action: [Resize: Up,] + # key: [Ctrl: 'Up',] + #- action: [Resize: Down,] + # key: [Ctrl: 'Down',] + #- action: [Resize: Left,] + # key: [Ctrl: 'Left',] + #- action: [Resize: Right,] + # key: [Ctrl: 'Right',] + #- action: [ShiftPartiallyVisibleTab: Up, SwitchToMode: Normal,] + # key: [Shift: 'Up',] + #- action: [ShiftPartiallyVisibleTab: Down, SwitchToMode: Normal,] + # key: [Shift: 'Down',] + #- action: [ShiftPartiallyVisibleTab: Left, SwitchToMode: Normal,] + # key: [Shift: 'Left',] + #- action: [ShiftPartiallyVisibleTab: Right, SwitchToMode: Normal,] + # key: [Shift: 'Right',] +########################################### End Tmux Commands Imported ################################## + resize: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'r', Char: "\n", Char: ' ',] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [Quit] + key: [Ctrl: 'q'] + - action: [Resize: Left,] + key: [Char: 'h', Left, ] + - action: [Resize: Down,] + key: [Char: 'j', Down, ] + - action: [Resize: Up,] + key: [Char: 'k', Up, ] + - action: [Resize: Right,] + key: [Char: 'l', Right, ] + - action: [NewPane: ,] + key: [ Alt: 'n',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h', Left,] + - action: [MoveFocus: Right,] + key: [ Alt: 'l', Right,] + - action: [MoveFocus: Down,] + key: [ Alt: 'j', Down,] + - action: [MoveFocus: Up,] + key: [ Alt: 'k', Up,] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + pane: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'r', Char: "\n", Char: ' ',] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [Quit,] + key: [Ctrl: 'q',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h', Left,] + - action: [MoveFocus: Right,] + key: [ Alt: 'l', Right,] + - action: [MoveFocus: Down,] + key: [ Alt: 'j', Down,] + - action: [MoveFocus: Up,] + key: [ Alt: 'k', Up,] + - action: [SwitchFocus,] + key: [Char: 'p'] + - action: [NewPane: ,] + key: [Char: 'n', Alt: 'n',] + - action: [NewPane: Down,] + key: [Char: 'd',] + - action: [NewPane: Right,] + key: [Char: 'r',] + - action: [CloseFocus,] + key: [Char: 'x',] + - action: [ToggleFocusFullscreen,] + key: [Char: 'f',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + tab: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'r', Ctrl: 't', Char: "\n", Char: ' ',] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: RenameTab, TabNameInput: [0],] + key: [Char: 'r'] + - action: [Quit,] + key: [Ctrl: 'q',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [GoToPreviousTab,] + key: [ Char: 'h',] + - action: [GoToNextTab,] + key: [ Char: 'l',] + - action: [GoToNextTab,] + key: [ Char: 'j',] + - action: [GoToPreviousTab,] + key: [ Char: 'k',] + - action: [NewTab,] + key: [ Char: 'n',] + - action: [CloseTab,] + key: [ Char: 'x',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [GoToTab: 1,] + key: [ Char: '1',] + - action: [GoToTab: 2,] + key: [ Char: '2',] + - action: [GoToTab: 3,] + key: [ Char: '3',] + - action: [GoToTab: 4,] + key: [ Char: '4',] + - action: [GoToTab: 5,] + key: [ Char: '5',] + - action: [GoToTab: 6,] + key: [ Char: '6',] + - action: [GoToTab: 7,] + key: [ Char: '7',] + - action: [GoToTab: 8,] + key: [ Char: '8',] + - action: [GoToTab: 9,] + key: [ Char: '9',] + scroll: + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'r', Ctrl: 's', Char: ' ', + Char: "\n",] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [Quit,] + key: [Ctrl: 'q',] + - action: [ScrollDown,] + key: [Char: 'j', Down,] + - action: [ScrollUp,] + key: [Char: 'k', Up,] + - action: [PageScrollDown,] + key: [Ctrl: 'f', PageDown,] + - action: [PageScrollUp,] + key: [Ctrl: 'b', PageUp,] + - action: [NewPane: ,] + key: [ Alt: 'n',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + renametab: + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'r', Ctrl: 's', Char: ' ',] + - action: [SwitchToMode: Tab,] + key: [Char: "\n",] + - action: [TabNameInput: [27] , SwitchToMode: Tab,] + key: [Esc,] + - action: [NewPane: ,] + key: [ Alt: 'n',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] diff --git a/example/tmux.yaml b/example/tmux.yaml index 699a6793..4c9b81e0 100644 --- a/example/tmux.yaml +++ b/example/tmux.yaml @@ -1,9 +1,10 @@ --- + #This config will not currently function and will error out until Issue #248 is implemented, or another solution is. keybinds: unbind: true normal: - action: [SwitchToMode: Locked,] - key: [Ctrl: 'b',] + key: [Ctrl: 'g',] - action: [SwitchToMode: Pane,] key: [Ctrl: 'p',] - action: [SwitchToMode: Resize,] @@ -12,6 +13,8 @@ keybinds: key: [Ctrl: 't',] - action: [SwitchToMode: Scroll,] key: [Ctrl: 's',] + - action: [SwitchToMode: tmux,] # This mode doesn't exist and will error out until Issue #248 is addressed, this is the crux of the issue. + key: [Ctrl: 'b',] - action: [Quit,] key: [Ctrl: 'q',] - action: [NewPane: ] @@ -28,9 +31,7 @@ keybinds: key: [ Alt: '[',] - action: [FocusNextPane,] key: [ Alt: ']',] - locked: # Functions as the Tmux Mode for now. - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'c',] + tmux: ######### list of tmux actions starts here in same order as exported from tmux 'C-b ?` command. ######### ######### All Commented Commands have placeholder names for the features if they ever get implemented. ## #- action: [SendPrefixKey,] @@ -200,185 +201,3 @@ keybinds: #- action: [ShiftPartiallyVisibleTab: Right, SwitchToMode: Normal,] # key: [Shift: 'Right',] ########################################### End Tmux Commands Imported ################################## - resize: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'r', Char: "\n", Char: ' ',] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [Quit] - key: [Ctrl: 'q'] - - action: [Resize: Left,] - key: [Char: 'h', Left, ] - - action: [Resize: Down,] - key: [Char: 'j', Down, ] - - action: [Resize: Up,] - key: [Char: 'k', Up, ] - - action: [Resize: Right,] - key: [Char: 'l', Right, ] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocus: Left,] - key: [ Alt: 'h', Left,] - - action: [MoveFocus: Right,] - key: [ Alt: 'l', Right,] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Down,] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Up,] - - action: [FocusPreviousPane,] - key: [ Alt: '[',] - - action: [FocusNextPane,] - key: [ Alt: ']',] - pane: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'r', Char: "\n", Char: ' ',] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [MoveFocus: Left,] - key: [ Alt: 'h', Left,] - - action: [MoveFocus: Right,] - key: [ Alt: 'l', Right,] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Down,] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Up,] - - action: [SwitchFocus,] - key: [Char: 'p'] - - action: [NewPane: ,] - key: [Char: 'n', Alt: 'n',] - - action: [NewPane: Down,] - key: [Char: 'd',] - - action: [NewPane: Right,] - key: [Char: 'r',] - - action: [CloseFocus,] - key: [Char: 'x',] - - action: [ToggleFocusFullscreen,] - key: [Char: 'f',] - - action: [FocusPreviousPane,] - key: [ Alt: '[',] - - action: [FocusNextPane,] - key: [ Alt: ']',] - tab: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'r', Ctrl: 't', Char: "\n", Char: ' ',] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: RenameTab, TabNameInput: [0],] - key: [Char: 'r'] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [FocusPreviousPane,] - key: [ Alt: '[',] - - action: [FocusNextPane,] - key: [ Alt: ']',] - - action: [GoToPreviousTab,] - key: [ Char: 'h',] - - action: [GoToNextTab,] - key: [ Char: 'l',] - - action: [GoToNextTab,] - key: [ Char: 'j',] - - action: [GoToPreviousTab,] - key: [ Char: 'k',] - - action: [NewTab,] - key: [ Char: 'n',] - - action: [CloseTab,] - key: [ Char: 'x',] - - action: [MoveFocus: Left,] - key: [ Alt: 'h',] - - action: [MoveFocus: Right,] - key: [ Alt: 'l',] - - action: [MoveFocus: Down,] - key: [ Alt: 'j',] - - action: [MoveFocus: Up,] - key: [ Alt: 'k',] - - action: [GoToTab: 1,] - key: [ Char: '1',] - - action: [GoToTab: 2,] - key: [ Char: '2',] - - action: [GoToTab: 3,] - key: [ Char: '3',] - - action: [GoToTab: 4,] - key: [ Char: '4',] - - action: [GoToTab: 5,] - key: [ Char: '5',] - - action: [GoToTab: 6,] - key: [ Char: '6',] - - action: [GoToTab: 7,] - key: [ Char: '7',] - - action: [GoToTab: 8,] - key: [ Char: '8',] - - action: [GoToTab: 9,] - key: [ Char: '9',] - scroll: - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'r', Ctrl: 's', Char: ' ', - Char: "\n",] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g',] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [ScrollDown,] - key: [Char: 'j', Down,] - - action: [ScrollUp,] - key: [Char: 'k', Up,] - - action: [PageScrollDown,] - key: [Ctrl: 'f', PageDown,] - - action: [PageScrollUp,] - key: [Ctrl: 'b', PageUp,] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocus: Left,] - key: [ Alt: 'h',] - - action: [MoveFocus: Right,] - key: [ Alt: 'l',] - - action: [MoveFocus: Down,] - key: [ Alt: 'j',] - - action: [MoveFocus: Up,] - key: [ Alt: 'k',] - - action: [FocusPreviousPane,] - key: [ Alt: '[',] - - action: [FocusNextPane,] - key: [ Alt: ']',] - renametab: - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'r', Ctrl: 's', Char: ' ',] - - action: [SwitchToMode: Tab,] - key: [Char: "\n",] - - action: [TabNameInput: [27] , SwitchToMode: Tab,] - key: [Esc,] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocus: Left,] - key: [ Alt: 'h',] - - action: [MoveFocus: Right,] - key: [ Alt: 'l',] - - action: [MoveFocus: Down,] - key: [ Alt: 'j',] - - action: [MoveFocus: Up,] - key: [ Alt: 'k',] - - action: [FocusPreviousPane,] - key: [ Alt: '[',] - - action: [FocusNextPane,] - key: [ Alt: ']',]