* Half-page scroll actions #794 * fix(performance): do not hang when resizing large line wraps (#814) * fix(performance): do not hang when resizing large line wraps * style(fmt): make rustfmt happy * style(clippy): make clippy happy * docs(changelog): scroll fix * fix(compatibility): home and end key fix (#815) * fix(compatibility): handle home/end keys properly from terminfo * style(fmt): make rustfmt happy * style(fmt): remove unused import * docs(changelog): home end key fix * docs(changelog): fix link * fix(typo): Correct typo from `occured` to `occurred` (#821) * docs(changelog): fix a typo * fix(docs): fix wrong arguments for `cargo make run` given in CONTRIBUTING.md (#819) * docs(changelog): update `cargo-make` for `v0.35.3` * fix(warning): Fix an unused import warning of std::fs on macos (#820) * docs(changelog): fix unused import on darwin * add: `WriteChars` action (#825) * Behaves like the `Write` action, but one can specify strings themselves instead of their bytecodes. Usage: WriteChars: "cargo make test", * docs(changelog): Add `WriteChars` action * fix(docs): Fix a typo and some grammatical errors in bug_report.md (#826) * docs(changelog): fix typo bug_report template * add: `rust-version` (msrv) field to `Cargo.toml` (#828) * specifies the minimum version the package can be compiled with, may be ignored with `--ignore-rust-version` option ref: https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field * docs(changelog): add `rust-version` to `Cargo.toml` * fix(unix): forkpty => openpty (#830) * fix(unix): forkpty => openpty * style(fmt): make rustfmt happy * docs(changelog): forkpty => openpty * Fix: move `colors_transform` to `colorsys` (#832) * `colors_transform` is deprecated and superceded by `colorsys` ref: https://crates.io/crates/colors-transform * docs(changelog): `colors_transform` to `colorsys` * feat(ui): add right-click support to plugins * chore(docs): update changelog * chore(warnings): remove unused imports (#833) * rename var sroll_rows and review snapshots * style(fmt): make rustfmt happy Co-authored-by: Aram Drevekenin <aram@poor.dev> Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com> Co-authored-by: a-kenji <aks.kenji@protonmail.com> Co-authored-by: Tw <tw19881113@gmail.com> Co-authored-by: Brooks Rady <b.j.rady@gmail.com>
371 lines
12 KiB
YAML
371 lines
12 KiB
YAML
---
|
|
# 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,]
|
|
key: [Ctrl: 'n',]
|
|
- action: [SwitchToMode: Tab,]
|
|
key: [Ctrl: 't',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's',]
|
|
- action: [SwitchToMode: Session,]
|
|
key: [Ctrl: 'o',]
|
|
- 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: ']',]
|
|
- 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,]
|
|
key: [Ctrl: 'r', Char: "\n", Char: ' ',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's']
|
|
- action: [SwitchToMode: Session,]
|
|
key: [Ctrl: 'o',]
|
|
- 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,]
|
|
- action: [Resize: Increase,]
|
|
key: [Char: '=']
|
|
- action: [Resize: Increase,]
|
|
key: [ Alt: '+']
|
|
- action: [Resize: Decrease,]
|
|
key: [Char: '-']
|
|
- 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: ']',]
|
|
pane:
|
|
- action: [SwitchToMode: Locked,]
|
|
key: [Ctrl: 'g']
|
|
- action: [SwitchToMode: Resize,]
|
|
key: [Ctrl: 'n',]
|
|
- action: [SwitchToMode: Tab,]
|
|
key: [Ctrl: 't',]
|
|
- action: [SwitchToMode: Normal,]
|
|
key: [Ctrl: 'p', Char: "\n", Char: ' ',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's']
|
|
- action: [SwitchToMode: Session,]
|
|
key: [Ctrl: 'o',]
|
|
- action: [SwitchToMode: Move,]
|
|
key: [Ctrl: 'h',]
|
|
- action: [Quit,]
|
|
key: [Ctrl: 'q',]
|
|
- action: [MoveFocus: Left,]
|
|
key: [ Char: 'h', Left,]
|
|
- action: [MoveFocus: Right,]
|
|
key: [ Char: 'l', Right,]
|
|
- action: [MoveFocus: Down,]
|
|
key: [ Char: 'j', Down,]
|
|
- action: [MoveFocus: Up,]
|
|
key: [ Char: '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: [TogglePaneFrames,]
|
|
key: [Char: 'z',]
|
|
- action: [FocusPreviousPane,]
|
|
key: [ Alt: '[',]
|
|
- action: [FocusNextPane,]
|
|
key: [ Alt: ']',]
|
|
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,]
|
|
key: [Ctrl: 'h', Char: "\n", Char: ' ',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's']
|
|
- action: [SwitchToMode: Session,]
|
|
key: [Ctrl: 'o',]
|
|
- action: [Quit]
|
|
key: [Ctrl: 'q']
|
|
- action: [MovePane: ,]
|
|
key: [Char: 'n', Char: "\t",]
|
|
- 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: ']',]
|
|
tab:
|
|
- action: [SwitchToMode: Locked,]
|
|
key: [Ctrl: 'g']
|
|
- action: [SwitchToMode: Pane,]
|
|
key: [Ctrl: 'p',]
|
|
- action: [SwitchToMode: Resize,]
|
|
key: [Ctrl: 'n',]
|
|
- action: [SwitchToMode: Normal,]
|
|
key: [Ctrl: 't', Char: "\n", Char: ' ',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's']
|
|
- action: [SwitchToMode: Move,]
|
|
key: [Ctrl: 'h',]
|
|
- action: [SwitchToMode: Session,]
|
|
key: [Ctrl: 'o',]
|
|
- 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', Left, Up, Char: 'k',]
|
|
- action: [GoToNextTab,]
|
|
key: [ Char: 'l', Right,Down, Char: 'j']
|
|
- action: [NewTab: ,]
|
|
key: [ Char: 'n',]
|
|
- action: [CloseTab,]
|
|
key: [ Char: 'x',]
|
|
- action: [ToggleActiveSyncTab]
|
|
key: [Char: 's']
|
|
- 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',]
|
|
- action: [ToggleTab]
|
|
key: [ Char: "\t" ]
|
|
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: [SwitchToMode: Move,]
|
|
key: [Ctrl: 'h',]
|
|
- 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,]
|
|
- action: [PageScrollDown,]
|
|
key: [Ctrl: 'f', PageDown, Right, Char: 'l',]
|
|
- action: [PageScrollUp,]
|
|
key: [Ctrl: 'b', PageUp, Left, Char: 'h',]
|
|
- 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: ']',]
|
|
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: ']',]
|
|
session:
|
|
- action: [SwitchToMode: Locked,]
|
|
key: [Ctrl: 'g']
|
|
- action: [SwitchToMode: Resize,]
|
|
key: [Ctrl: 'n',]
|
|
- action: [SwitchToMode: Pane,]
|
|
key: [Ctrl: 'p',]
|
|
- action: [SwitchToMode: Move,]
|
|
key: [Ctrl: 'h',]
|
|
- action: [SwitchToMode: Tab,]
|
|
key: [Ctrl: 't',]
|
|
- action: [SwitchToMode: Normal,]
|
|
key: [Ctrl: 'o', Char: "\n", Char: ' ',]
|
|
- action: [SwitchToMode: Scroll,]
|
|
key: [Ctrl: 's']
|
|
- action: [Quit,]
|
|
key: [Ctrl: 'q',]
|
|
- action: [Detach,]
|
|
key: [Char: 'd',]
|
|
plugins:
|
|
- path: tab-bar
|
|
tag: tab-bar
|
|
- path: status-bar
|
|
tag: status-bar
|
|
- path: strider
|
|
tag: strider
|
|
|
|
# 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
|
|
|
|
# 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
|
|
# default_shell: fish
|
|
|
|
# Toggle between having pane frames around the panes
|
|
# Options:
|
|
# - true
|
|
# - false (default)
|
|
#no_pane_frames: true
|
|
|
|
# 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:
|
|
# - true
|
|
# - false (default)
|
|
#disable_mouse_mode: true
|