zellij/example/default.yaml

471 lines
15 KiB
YAML
Raw Normal View History

---
2021-10-20 13:28:23 +03:00
# Configuration for zellij.
# In order to troubleshoot your configuration try using the following command:
# `zellij setup --check`
# It should show current config locations and features that are enabled.
keybinds:
unbind: true
normal:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g',]
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
- action: [SwitchToMode: Resize,]
2021-09-21 19:04:04 +03:00
key: [Ctrl: 'n',]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's',]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
- action: [Quit,]
key: [Ctrl: 'q',]
- action: [NewPane: ]
key: [ Alt: 'n',]
- action: [MoveFocusOrTab: Left,]
key: [ Alt: 'h',]
- action: [MoveFocusOrTab: Right,]
key: [ Alt: 'l',]
- action: [MoveFocus: Down,]
key: [ Alt: 'j',]
- action: [MoveFocus: Up,]
key: [ Alt: 'k',]
- action: [FocusPreviousPane,]
key: [ Alt: '[',]
- action: [FocusNextPane,]
key: [ Alt: ']',]
2021-11-08 17:17:26 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
locked:
- action: [SwitchToMode: Normal,]
key: [Ctrl: 'g',]
resize:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g']
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
2022-01-05 12:37:31 +03:00
key: [Ctrl: 'n', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
- 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,]
2021-11-08 17:17:26 +03:00
- action: [Resize: Increase,]
key: [Char: '=']
- action: [Resize: Increase,]
2022-01-05 12:37:31 +03:00
key: [ Char: '+']
2021-11-08 17:17:26 +03:00
- action: [Resize: Decrease,]
key: [Char: '-']
- action: [NewPane: ,]
key: [ Alt: 'n',]
- action: [MoveFocus: Left,]
2021-09-21 19:04:04 +03:00
key: [ Alt: 'h',]
- action: [MoveFocus: Right,]
2021-09-21 19:04:04 +03:00
key: [ Alt: 'l',]
- action: [MoveFocus: Down,]
2021-09-21 19:04:04 +03:00
key: [ Alt: 'j',]
- action: [MoveFocus: Up,]
2021-09-21 19:04:04 +03:00
key: [ Alt: 'k',]
- action: [FocusPreviousPane,]
key: [ Alt: '[',]
- action: [FocusNextPane,]
key: [ Alt: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
pane:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g']
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
2021-11-29 11:35:48 +03:00
key: [Ctrl: 'p', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
- action: [Quit,]
key: [Ctrl: 'q',]
- action: [MoveFocus: Left,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'h', Left,]
- action: [MoveFocus: Right,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'l', Right,]
- action: [MoveFocus: Down,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'j', Down,]
- action: [MoveFocus: Up,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'k', Up,]
- action: [SwitchFocus,]
key: [Char: 'p']
2022-01-05 12:37:31 +03:00
- action: [NewPane: , SwitchToMode: Normal,]
key: [Char: 'n',]
- action: [NewPane: Down, SwitchToMode: Normal,]
key: [Char: 'd',]
2022-01-05 12:37:31 +03:00
- action: [NewPane: Right, SwitchToMode: Normal,]
key: [Char: 'r',]
2022-01-05 12:37:31 +03:00
- action: [CloseFocus, SwitchToMode: Normal,]
key: [Char: 'x',]
2022-01-05 12:37:31 +03:00
- action: [ToggleFocusFullscreen, SwitchToMode: Normal,]
key: [Char: 'f',]
2022-01-05 12:37:31 +03:00
- action: [TogglePaneFrames, SwitchToMode: Normal,]
2021-09-21 19:04:04 +03:00
key: [Char: 'z',]
2022-01-05 12:37:31 +03:00
- 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: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
2021-12-13 17:52:53 +03:00
- action: [SwitchToMode: RenamePane, PaneNameInput: [0],]
key: [Char: 'c']
2021-10-20 13:28:23 +03:00
move:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g']
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Normal,]
2021-11-29 11:35:48 +03:00
key: [Ctrl: 'h', Char: "\n", Char: ' ', Esc]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
- action: [Quit]
key: [Ctrl: 'q']
2021-11-08 17:17:26 +03:00
- action: [MovePane: ,]
key: [Char: 'n', Char: "\t",]
2021-10-20 13:28:23 +03:00
- action: [MovePane: Left,]
key: [Char: 'h', Left,]
- action: [MovePane: Down,]
key: [Char: 'j', Down,]
- action: [MovePane: Up,]
key: [Char: 'k', Up, ]
- action: [MovePane: Right,]
key: [Char: 'l', Right,]
- 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: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
tab:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g']
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Normal,]
2021-11-29 11:35:48 +03:00
key: [Ctrl: 't', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
- action: [SwitchToMode: RenameTab, TabNameInput: [0],]
key: [Char: 'r']
- action: [Quit,]
key: [Ctrl: 'q',]
- action: [GoToPreviousTab,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'h', Left, Up, Char: 'k',]
- action: [GoToNextTab,]
2021-09-21 19:04:04 +03:00
key: [ Char: 'l', Right,Down, Char: 'j']
2022-01-05 12:37:31 +03:00
- action: [NewTab: , SwitchToMode: Normal,]
key: [ Char: 'n',]
2022-01-05 12:37:31 +03:00
- action: [CloseTab, SwitchToMode: Normal,]
key: [ Char: 'x',]
2022-01-05 12:37:31 +03:00
- action: [ToggleActiveSyncTab, SwitchToMode: Normal,]
2021-09-21 19:04:04 +03:00
key: [Char: 's']
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 1, SwitchToMode: Normal,]
key: [ Char: '1',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 2, SwitchToMode: Normal,]
key: [ Char: '2',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 3, SwitchToMode: Normal,]
key: [ Char: '3',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 4, SwitchToMode: Normal,]
key: [ Char: '4',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 5, SwitchToMode: Normal,]
key: [ Char: '5',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 6, SwitchToMode: Normal,]
key: [ Char: '6',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 7, SwitchToMode: Normal,]
key: [ Char: '7',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 8, SwitchToMode: Normal,]
key: [ Char: '8',]
2022-01-05 12:37:31 +03:00
- action: [GoToTab: 9, SwitchToMode: Normal,]
key: [ Char: '9',]
2021-09-21 19:04:04 +03:00
- action: [ToggleTab]
key: [ Char: "\t" ]
2022-01-05 12:37:31 +03:00
- 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: ']',]
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
scroll:
- action: [SwitchToMode: Normal,]
2022-01-05 12:37:31 +03:00
key: [Ctrl: 's', Char: ' ', Char: "\n", Esc]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g',]
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Session,]
key: [Ctrl: 'o',]
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [ScrollToBottom, SwitchToMode: Normal,]
key: [Ctrl: 'c',]
- action: [Quit,]
key: [Ctrl: 'q',]
- action: [ScrollDown,]
key: [Char: 'j', Down,]
- action: [ScrollUp,]
key: [Char: 'k', Up,]
2021-04-21 08:51:52 +03:00
- action: [PageScrollDown,]
2021-09-21 19:04:04 +03:00
key: [Ctrl: 'f', PageDown, Right, Char: 'l',]
2021-04-21 08:51:52 +03:00
- action: [PageScrollUp,]
2021-09-21 19:04:04 +03:00
key: [Ctrl: 'b', PageUp, Left, Char: 'h',]
2021-11-08 17:17:26 +03:00
- action: [HalfPageScrollDown,]
key: [Char: 'd',]
- action: [HalfPageScrollUp,]
key: [Char: 'u',]
- 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: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
renametab:
- action: [SwitchToMode: Normal,]
2022-01-05 12:37:31 +03:00
key: [Char: "\n", Ctrl: 'c', Esc]
- 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: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
2021-12-13 17:52:53 +03:00
renamepane:
- action: [SwitchToMode: Normal,]
2022-01-05 12:37:31 +03:00
key: [Char: "\n", Ctrl: 'c', Esc]
2021-12-13 17:52:53 +03:00
- action: [PaneNameInput: [27] , SwitchToMode: Pane,]
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: ']',]
2022-01-05 12:37:31 +03:00
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
2021-09-21 19:04:04 +03:00
session:
- action: [SwitchToMode: Locked,]
key: [Ctrl: 'g']
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Pane,]
key: [Ctrl: 'p',]
2021-10-20 13:28:23 +03:00
- action: [SwitchToMode: Move,]
key: [Ctrl: 'h',]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
2021-11-29 11:35:48 +03:00
key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc]
2021-09-21 19:04:04 +03:00
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [Quit,]
key: [Ctrl: 'q',]
- action: [Detach,]
key: [Char: 'd',]
2022-01-05 12:37:31 +03:00
- 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: ']',]
- action: [Resize: Increase,]
key: [ Alt: '=']
- action: [Resize: Increase,]
key: [ Alt: '+']
- action: [Resize: Decrease,]
key: [ Alt: '-']
2021-09-29 16:13:19 +03:00
plugins:
- path: tab-bar
tag: tab-bar
- path: status-bar
tag: status-bar
- path: strider
tag: strider
2021-09-21 19:04:04 +03:00
# Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
# eg. when terminal window with an active zellij session is closed
# Options:
# - detach (Default)
# - quit
#on_force_close: quit
2021-10-20 13:28:23 +03:00
# Send a request for a simplified ui (without arrow fonts) to plugins
# Options:
# - true
# - false (Default)
#simplified_ui: true
# Choose the path to the default shell that zellij will use for opening new panes
# Default: $SHELL
2021-12-13 17:52:53 +03:00
#default_shell: fish
2021-10-20 13:28:23 +03:00
# Toggle between having pane frames around the panes
# Options:
2021-12-13 17:52:53 +03:00
# - true (default)
# - false
#pane_frames: true
2021-10-20 13:28:23 +03:00
# Choose the theme that is specified in the themes section.
# Default: default
#theme: default
# Choose the mode that zellij uses when starting up.
# Default: normal
#default_mode: locked
# Toggle enabling the mouse mode.
# On certain configurations, or terminals this could
# potentially interfere with copying text.
# Options:
2021-12-13 17:52:53 +03:00
# - true (default)
# - false
#mouse_mode: false
2022-01-05 12:37:31 +03:00
# Configure the scroll back buffer size
# This is the number of lines zellij stores for each pane in the scroll back
# buffer. Excess number of lines are discarded in a FIFO fashion.
# Valid values: positive integers
# Default value: 10000
#scroll_buffer_size: 10000