1271 lines
47 KiB
KDL
1271 lines
47 KiB
KDL
// Keybindings come from a preset: a file in the "keybinds" folder next to this file, or one of
|
|
// the presets built into Zellij ("default" and "unlock-first"). Print a built-in preset with
|
|
// "zellij setup --dump-keybinds <name>".
|
|
// "primary", "secondary" and "unlock" set the leader keys of presets that use them.
|
|
// If a leader key is empty or two of them are equal, Zellij warns and uses the default preset.
|
|
// Keybindings that come from a layout are shown in the settings screen but cannot be edited there.
|
|
// Bindings inside the block are applied on top of the preset. To replace the preset
|
|
// completely, add clear-defaults=true to the block.
|
|
// For a single session, "zellij options --keybinds-preset <name>" (and --keybinds-primary,
|
|
// --keybinds-secondary, --keybinds-unlock) choose a preset without changing this file.
|
|
//
|
|
keybinds clear-defaults=true preset="default" primary="Ctrl" secondary="Alt" {
|
|
normal {
|
|
// uncomment this and adjust key if using copy_on_select=false
|
|
// bind "Alt c" { Copy; }
|
|
bind "Alt Down" { ScrollDown; }
|
|
bind "Alt Up" { ScrollUp; }
|
|
bind "PageDown" { PageScrollDown; }
|
|
bind "PageUp" { PageScrollUp; }
|
|
}
|
|
locked {
|
|
bind "Alt g" { SwitchToMode "Normal"; }
|
|
}
|
|
resize {
|
|
bind "Alt M" { SwitchToMode "Normal"; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "Left" { Resize "Increase Left"; }
|
|
bind "Down" { Resize "Increase Down"; }
|
|
bind "Up" { Resize "Increase Up"; }
|
|
bind "Right" { Resize "Increase Right"; }
|
|
// bind "H" { Resize "Decrease Left"; }
|
|
// bind "J" { Resize "Decrease Down"; }
|
|
// bind "K" { Resize "Decrease Up"; }
|
|
// bind "L" { Resize "Decrease Right"; }
|
|
bind "=" "+" { Resize "Increase"; }
|
|
bind "-" { Resize "Decrease"; }
|
|
}
|
|
pane {
|
|
bind "Alt p" { SwitchToMode "Normal"; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "Left" { MoveFocus "Left"; }
|
|
bind "Right" { MoveFocus "Right"; }
|
|
bind "Down" { MoveFocus "Down"; }
|
|
bind "Up" { MoveFocus "Up"; }
|
|
bind "p" { SwitchFocus; }
|
|
bind "n" { NewPane; SwitchToMode "Normal"; }
|
|
bind "d" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
bind "r" { NewPane "Right"; SwitchToMode "Normal"; }
|
|
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
|
|
bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
|
|
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
|
|
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
|
}
|
|
move {
|
|
bind "Alt m" { SwitchToMode "Normal"; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "n" "Tab" { MovePane; }
|
|
bind "p" { MovePaneBackwards; }
|
|
bind "Left" { MovePane "Left"; }
|
|
bind "Down" { MovePane "Down"; }
|
|
bind "Up" { MovePane "Up"; }
|
|
bind "Right" { MovePane "Right"; }
|
|
}
|
|
tab {
|
|
bind "Alt t" { SwitchToMode "Normal"; }
|
|
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
|
|
bind "Left" "Up" { GoToPreviousTab; }
|
|
bind "Right" "Down" { GoToNextTab; }
|
|
bind "n" { NewTab; SwitchToMode "Normal"; }
|
|
bind "x" { CloseTab; SwitchToMode "Normal"; }
|
|
bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
|
|
bind "b" { BreakPane; SwitchToMode "Normal"; }
|
|
bind "]" { BreakPaneRight; SwitchToMode "Normal"; }
|
|
bind "[" { BreakPaneLeft; SwitchToMode "Normal"; }
|
|
bind "1" { GoToTab 1; SwitchToMode "Normal"; }
|
|
bind "2" { GoToTab 2; SwitchToMode "Normal"; }
|
|
bind "3" { GoToTab 3; SwitchToMode "Normal"; }
|
|
bind "4" { GoToTab 4; SwitchToMode "Normal"; }
|
|
bind "5" { GoToTab 5; SwitchToMode "Normal"; }
|
|
bind "6" { GoToTab 6; SwitchToMode "Normal"; }
|
|
bind "7" { GoToTab 7; SwitchToMode "Normal"; }
|
|
bind "8" { GoToTab 8; SwitchToMode "Normal"; }
|
|
bind "9" { GoToTab 9; SwitchToMode "Normal"; }
|
|
bind "Tab" { ToggleTab; }
|
|
}
|
|
scroll {
|
|
bind "Ctrl f" { SwitchToMode "Normal"; }
|
|
bind "e" { EditScrollback; SwitchToMode "Normal"; }
|
|
bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "Down" { ScrollDown; }
|
|
bind "Up" { ScrollUp; }
|
|
bind "PageDown" { PageScrollDown; }
|
|
bind "PageUp" { PageScrollUp; }
|
|
bind "d" { HalfPageScrollDown; }
|
|
bind "u" { HalfPageScrollUp; }
|
|
// uncomment this and adjust key if using copy_on_select=false
|
|
// bind "Alt c" { Copy; }
|
|
}
|
|
search {
|
|
bind "Ctrl f" { SwitchToMode "Normal"; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "Down" { ScrollDown; }
|
|
bind "Up" { ScrollUp; }
|
|
bind "PageDown" { PageScrollDown; }
|
|
bind "PageUp" { PageScrollUp; }
|
|
bind "d" { HalfPageScrollDown; }
|
|
bind "u" { HalfPageScrollUp; }
|
|
bind "f" { Search "down"; }
|
|
bind "F" { Search "up"; }
|
|
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
|
bind "w" { SearchToggleOption "Wrap"; }
|
|
bind "o" { SearchToggleOption "WholeWord"; }
|
|
}
|
|
entersearch {
|
|
bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; }
|
|
bind "Enter" { SwitchToMode "Search"; }
|
|
}
|
|
renametab {
|
|
bind "Ctrl c" { SwitchToMode "Normal"; }
|
|
bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
|
|
}
|
|
renamepane {
|
|
bind "Ctrl c" { SwitchToMode "Normal"; }
|
|
bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
|
|
}
|
|
session {
|
|
bind "Alt s" { SwitchToMode "Normal"; }
|
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
|
bind "Ctrl f" { SwitchToMode "Scroll"; }
|
|
bind "d" { Detach; }
|
|
bind "s" {
|
|
LaunchOrFocusPlugin "session-manager" {
|
|
floating true
|
|
move_to_focused_tab true
|
|
};
|
|
SwitchToMode "Normal"
|
|
}
|
|
}
|
|
// tmux {
|
|
// bind "[" { SwitchToMode "Scroll"; }
|
|
// bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
|
// bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
// bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
|
// bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
// bind "c" { NewTab; SwitchToMode "Normal"; }
|
|
// bind "," { SwitchToMode "RenameTab"; }
|
|
// bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
|
// bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
|
// bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
|
// bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
|
// bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
|
// bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
|
// bind "o" { FocusNextPane; }
|
|
// bind "d" { Detach; }
|
|
// bind "Space" { NextSwapLayout; }
|
|
// bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
|
// }
|
|
shared_except "locked" {
|
|
bind "Alt g" { SwitchToMode "Locked"; }
|
|
bind "Alt q" { Quit; }
|
|
bind "Alt n" { NewPane; }
|
|
bind "Alt w" { CloseFocus; }
|
|
bind "Ctrl t" { NewTab; }
|
|
bind "Ctrl w" { CloseTab; }
|
|
// bind "Alt i" { MoveTab "Left"; }
|
|
// bind "Alt o" { MoveTab "Right"; }
|
|
bind "Alt Left" { MoveFocusOrTab "Left"; }
|
|
bind "Alt Right" { MoveFocusOrTab "Right"; }
|
|
bind "Alt Down" { MoveFocus "Down"; }
|
|
bind "Alt Up" { MoveFocus "Up"; }
|
|
bind "Alt +" { Resize "Increase"; }
|
|
bind "Alt -" { Resize "Decrease"; }
|
|
// bind "Alt L" { PreviousSwapLayout; }
|
|
bind "Alt l" { NextSwapLayout; }
|
|
}
|
|
shared_except "normal" "locked" {
|
|
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
|
}
|
|
shared_except "pane" "locked" {
|
|
bind "Alt p" { SwitchToMode "Pane"; }
|
|
}
|
|
shared_except "resize" "locked" {
|
|
bind "Alt M" { SwitchToMode "Resize"; }
|
|
}
|
|
shared_except "scroll" "locked" {
|
|
bind "Ctrl f" { SwitchToMode "Scroll"; }
|
|
}
|
|
shared_except "session" "locked" {
|
|
bind "Alt s" { SwitchToMode "Session"; }
|
|
}
|
|
shared_except "tab" "locked" {
|
|
bind "Alt t" { SwitchToMode "Tab"; }
|
|
}
|
|
shared_except "move" "locked" {
|
|
bind "Alt m" { SwitchToMode "Move"; }
|
|
}
|
|
// shared_except "tmux" "locked" {
|
|
// bind "Ctrl b" { SwitchToMode "Tmux"; }
|
|
// }
|
|
}
|
|
|
|
// Plugin aliases - can be used to change the implementation of Zellij
|
|
// changing these requires a restart to take effect
|
|
// Built-in aliases cannot be deleted: this block can only add to or override them
|
|
// (removing an override brings back the built-in one)
|
|
plugins {
|
|
tab-bar location="zellij:bars" {
|
|
role "tab-bar"
|
|
}
|
|
status-bar location="zellij:bars" {
|
|
role "status-bar"
|
|
}
|
|
strider location="zellij:strider"
|
|
compact-bar location="zellij:bars" {
|
|
role "compact-bar"
|
|
}
|
|
session-manager location="zellij:session-manager"
|
|
welcome-screen location="zellij:session-manager" {
|
|
welcome_screen true
|
|
}
|
|
filepicker location="zellij:strider" {
|
|
cwd "/"
|
|
}
|
|
configuration location="zellij:configuration"
|
|
plugin-manager location="zellij:plugin-manager"
|
|
about location="zellij:about"
|
|
context-menu location="zellij:context-menu"
|
|
prompt location="zellij:prompt"
|
|
}
|
|
|
|
// Plugins to load in the background when a new session starts
|
|
// (Requires restart)
|
|
load_plugins {
|
|
"zellij:bars" {
|
|
role "link"
|
|
}
|
|
// "file:/path/to/my-plugin.wasm"
|
|
// "https://example.com/my-plugin.wasm"
|
|
}
|
|
|
|
// Right-click menu items, per clicked target: "pane", "tab", "bar" (tab bar or status bar background)
|
|
// "common" items are added to the end of every menu
|
|
// Actions ending in "ByPaneId"/"ById"/"ByTabId" apply to the clicked pane or tab when no id is given
|
|
// Add clear-defaults=true to the block or to a section to replace the default items
|
|
// Without clear-defaults, a section changes the default items:
|
|
// item "Label" { ... } replaces the item with that label, or adds it at the end
|
|
// item "Label" after="Other" { ... } places the item after "Other" (before="Other" places it before)
|
|
// separator after="Other" adds a separator after (or before=) "Other"
|
|
// remove "Label" removes the item with that label
|
|
// Unknown labels are ignored by remove and place the item at the end with after/before
|
|
// An empty "context_menu clear-defaults=true {}" leaves the menu empty, so it never opens,
|
|
// but right clicks are still taken by Zellij; use "context_menu_enabled false" to turn the menu off
|
|
context_menu {
|
|
pane {
|
|
item "Paste" { PasteFromClipboardByPaneId; }
|
|
separator
|
|
item "New pane" { NewPane; }
|
|
item "New floating pane" { NewFloatingPane; }
|
|
separator
|
|
item "Rename pane…" { StartRenamePaneByPaneId; }
|
|
item "Fullscreen" toggled_label="Exit fullscreen" { ToggleFocusFullscreenByPaneId; }
|
|
item "Make floating" toggled_label="Make tiled" { TogglePaneEmbedOrFloatingByPaneId; }
|
|
item "Show titles in a row" toggled_label="Show titles in a column" { ToggleStackListOrientationByPaneId; }
|
|
separator
|
|
item "Watch pane" toggled_label="Stop watching" { WatchPaneByPaneId; }
|
|
item "Mute pane" toggled_label="Unmute pane" { MutePaneByPaneId; }
|
|
separator
|
|
item "Close pane" { CloseFocusByPaneId; }
|
|
}
|
|
tab {
|
|
item "New tab" { NewTab; }
|
|
item "Rename tab…" { StartRenameTabByTabId; }
|
|
item "Move left" { MoveTabByTabId "left"; }
|
|
item "Move right" { MoveTabByTabId "right"; }
|
|
item "Move to start" { MoveTabToPosition "start"; }
|
|
item "Move to end" { MoveTabToPosition "end"; }
|
|
item "Mute tab" toggled_label="Unmute tab" { MuteTabByTabId; }
|
|
separator
|
|
item "Close tab" { CloseTabById; }
|
|
}
|
|
bar {
|
|
item "New tab" { NewTab; }
|
|
separator
|
|
item "Rename session…" { SwitchToMode "RenameSession"; SessionNameInput 0; }
|
|
item "Back to {}" { ToggleSession; }
|
|
item "Session manager…" {
|
|
LaunchOrFocusPlugin "session-manager" {
|
|
floating true
|
|
move_to_focused_tab true
|
|
}
|
|
}
|
|
item "Open in a Zellij terminal" { OpenSessionInTerminal; }
|
|
separator
|
|
item "Hide {}" { HideBarByPaneId; }
|
|
item "Hide all bars" { HideBars; }
|
|
separator
|
|
item "Detach" { Detach; }
|
|
}
|
|
common {
|
|
item "Show bars" { ShowBars; }
|
|
item "Settings…" {
|
|
LaunchOrFocusPlugin "configuration" {
|
|
floating true
|
|
move_to_focused_tab true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
|
// eg. when terminal window with an active zellij session is closed
|
|
// (Requires restart)
|
|
// Options:
|
|
// - detach (Default)
|
|
// - quit
|
|
//
|
|
// on_force_close "quit"
|
|
|
|
// Choose what the quit key (Ctrl q by default) does
|
|
// Options:
|
|
// - ask_quit (Default - ask, with quitting preselected)
|
|
// - ask_detach (ask, with detaching preselected)
|
|
// - quit (quit without asking)
|
|
// - detach (detach without asking; the session keeps running)
|
|
//
|
|
// on_quit "ask_detach"
|
|
|
|
// The name of the session to create when Zellij starts
|
|
// Default: a random name
|
|
// (Requires restart)
|
|
//
|
|
// session_name "My singleton session"
|
|
|
|
// Attach to the session named in session_name if it already exists, instead of
|
|
// failing to start
|
|
// (Requires restart)
|
|
// Default: false
|
|
//
|
|
// attach_to_session true
|
|
|
|
// Bars a new session starts with hidden: "none" (Default), "all", or bar names
|
|
// separated by commas, eg. "tab-bar,status-bar". Hidden bars come back with the
|
|
// "Show bars" right-click menu item or the ToggleBars action.
|
|
//
|
|
// bars_hidden_on_start "all"
|
|
|
|
// Briefly show a note saying what was hidden and how to show it again whenever
|
|
// bars are hidden
|
|
// Default: true
|
|
//
|
|
// hidden_bars_notification false
|
|
|
|
// While the bar that shows the keys of the current mode is hidden, show those
|
|
// keys in a corner of the screen when entering a mode
|
|
// Default: true
|
|
//
|
|
// mode_hints_when_bars_hidden false
|
|
|
|
// An extra key that stops typing into a live view of a pane (in the inbox or a
|
|
// mirror) and gives the keys back to the plugin showing it. Alt Enter, the
|
|
// inbox key or a click outside always do it. A key repeated, eg. "Esc Esc",
|
|
// must be pressed twice in a row.
|
|
// Default: not set
|
|
//
|
|
// live_view_release_key "Ctrl Alt Home"
|
|
|
|
// Choose how to handle a nested Zellij session detected running inside a pane
|
|
// Options:
|
|
// - ask (Default - prompt with a modal to zoom in or control on focus)
|
|
// - fullscreen (always zoom into the nested session)
|
|
// - descend (always control the nested session on focus)
|
|
// - never (never prompt or descend; do it manually)
|
|
//
|
|
// nested_session_handling "ask"
|
|
|
|
// 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"
|
|
|
|
// Choose the path to override cwd that zellij will use for opening new panes
|
|
//
|
|
// default_cwd ""
|
|
|
|
// Toggle between having pane frames around the panes
|
|
// Options:
|
|
// - true (default)
|
|
// - false
|
|
//
|
|
// pane_frames true
|
|
|
|
// Set the pane frame style when pane_frames is enabled
|
|
// Options:
|
|
// - titles (default - draw a title above each pane)
|
|
// - full (draw a full frame around each pane)
|
|
// - none (equivalent to pane_frames false)
|
|
//
|
|
// pane_frame_style "titles"
|
|
|
|
// Configure the look of the pane frame borders
|
|
//
|
|
// ui {
|
|
// pane_frames {
|
|
// // round the corners of single-line borders
|
|
// rounded_corners true
|
|
// // hide the session name that is shown in the frame of the focused pane
|
|
// hide_session_name false
|
|
// // line style for all four sides of tiled pane frames
|
|
// // one of: single, double, heavy, dashed, heavy_dashed
|
|
// border_style "single"
|
|
// // per-side overrides, eg. a double top border with single sides
|
|
// border_top "double"
|
|
// border_right "single"
|
|
// border_bottom "single"
|
|
// border_left "single"
|
|
// // rounded corners for tiled panes only, overriding rounded_corners
|
|
// border_rounded_corners true
|
|
// // when two neighbouring panes disagree about a shared grid line
|
|
// // (pane frames off), that line falls back to border_style above
|
|
// // the same keys prefixed with "floating_" apply to floating panes,
|
|
// // they default to the values above
|
|
// floating_border_style "double"
|
|
// floating_border_top "double"
|
|
// floating_border_right "double"
|
|
// floating_border_bottom "double"
|
|
// floating_border_left "double"
|
|
// floating_border_rounded_corners false
|
|
// }
|
|
// }
|
|
|
|
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
|
// Options:
|
|
// - true (default)
|
|
// - false
|
|
//
|
|
auto_layout false
|
|
|
|
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
|
// (Requires restart)
|
|
// Options:
|
|
// - true (default)
|
|
// - false
|
|
//
|
|
session_serialization false
|
|
|
|
// Whether pane viewports are serialized along with the session
|
|
// (Requires restart)
|
|
// Options:
|
|
// - true
|
|
// - false (default)
|
|
//
|
|
serialize_pane_viewport true
|
|
|
|
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
|
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
|
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
|
// (Requires restart)
|
|
//
|
|
// scrollback_lines_to_serialize 10000
|
|
|
|
// Define color themes for Zellij
|
|
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
|
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
|
// Built-in themes and themes from theme_dir are read-only in the settings screen (copy one to edit it)
|
|
//
|
|
// themes {
|
|
// dracula {
|
|
// fg 248 248 242
|
|
// bg 40 42 54
|
|
// red 255 85 85
|
|
// green 80 250 123
|
|
// yellow 241 250 140
|
|
// blue 98 114 164
|
|
// magenta 255 121 198
|
|
// orange 255 184 108
|
|
// cyan 139 233 253
|
|
// black 0 0 0
|
|
// white 255 255 255
|
|
// }
|
|
// }
|
|
|
|
// Choose the theme that is specified in the themes section.
|
|
// Setting this pins the session to one theme and turns off the automatic
|
|
// dark/light switching described below. The theme Zellij used before the
|
|
// "default" and "default-light" pair is bundled as "classic".
|
|
// Default: default
|
|
//
|
|
// theme "default"
|
|
|
|
// Themes to use when the host terminal reports a dark or light color palette.
|
|
// When neither is set and no `theme` is set either, the bundled "default" and
|
|
// "default-light" themes are used. Setting only one of them pairs it with the
|
|
// matching bundled default. Until the host terminal reports (or if it never
|
|
// does), the dark theme is used.
|
|
//
|
|
// theme_dark "nightfox"
|
|
// theme_light "dayfox"
|
|
|
|
// Pin the session to a dark or light appearance, ignoring what the host
|
|
// terminal reports. Resolved before the first render. When unset, the host
|
|
// terminal decides.
|
|
// Options: dark, light
|
|
//
|
|
// explicit_theme_hue "dark"
|
|
|
|
// The name of the default layout to load on startup
|
|
// Default: "default"
|
|
// (Requires restart)
|
|
//
|
|
// default_layout "compact"
|
|
|
|
// Choose the mode that zellij uses when starting up and returns to after actions.
|
|
// Default: normal
|
|
//
|
|
default_mode "locked"
|
|
|
|
// Toggle enabling the mouse mode.
|
|
// On certain configurations, or terminals this could
|
|
// potentially interfere with copying text.
|
|
// (Requires restart)
|
|
// Options:
|
|
// - true (default)
|
|
// - false
|
|
//
|
|
// mouse_mode false
|
|
|
|
// Configure the scroll back buffer size
|
|
// This is the number of display rows zellij stores for each pane in the scroll
|
|
// back buffer. A logical line wider than the pane occupies one row per wrap.
|
|
// Excess rows are discarded in a FIFO fashion.
|
|
// (Requires restart)
|
|
// Valid values: positive integers
|
|
// Default: 10000
|
|
//
|
|
// scroll_buffer_size 10000
|
|
|
|
// Provide a command to execute when copying text. The text will be piped to
|
|
// the stdin of the program to perform the copy. This can be used with
|
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
|
// that will be used by default if this option is not set.
|
|
// Examples:
|
|
//
|
|
// copy_command "xclip -selection clipboard" // x11
|
|
// copy_command "wl-copy" // wayland
|
|
// copy_command "pbcopy" // osx
|
|
|
|
// Choose the destination for copied text
|
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
|
// Does not apply when using copy_command.
|
|
// Options:
|
|
// - system (default)
|
|
// - primary
|
|
//
|
|
// copy_clipboard "primary"
|
|
|
|
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
|
// Default: true
|
|
//
|
|
copy_on_select false
|
|
|
|
// Path to the default editor to use to edit pane scrollbuffer
|
|
// Default: $EDITOR or $VISUAL
|
|
//
|
|
// scrollback_editor "/usr/bin/vim"
|
|
|
|
// When attaching to an existing session with other users,
|
|
// should the session be mirrored (true)
|
|
// or should each user have their own cursor (false)
|
|
// (Requires restart)
|
|
// Default: false
|
|
//
|
|
// mirror_session true
|
|
|
|
// The folder in which Zellij will look for layouts
|
|
//
|
|
// layout_dir "/path/to/my/layout_dir"
|
|
|
|
// The folder in which Zellij will look for themes
|
|
// Themes from this folder are read-only in the settings screen (copy one to edit it)
|
|
//
|
|
// theme_dir "/path/to/my/theme_dir"
|
|
|
|
// The folder in which Zellij will look for keybinding presets
|
|
// Default: a "keybinds" folder in the config directory
|
|
//
|
|
// keybinds_dir "/path/to/my/keybinds_dir"
|
|
|
|
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
|
// May need to be disabled for certain unsupported terminals
|
|
// (Requires restart)
|
|
// Default: true
|
|
//
|
|
// styled_underlines false
|
|
|
|
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
|
// metadata info on this session)
|
|
// (Requires restart)
|
|
// Default: false
|
|
//
|
|
// disable_session_metadata true
|
|
|
|
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
|
// (Requires restart)
|
|
// Default: true (if the host terminal supports it)
|
|
//
|
|
// support_kitty_keyboard_protocol false
|
|
|
|
// Enable or disable support for the Kitty Graphics Protocol, used to display images (the host terminal must also support it)
|
|
// (Requires restart)
|
|
// Default: true (if the host terminal supports it)
|
|
//
|
|
// support_kitty_graphics_protocol false
|
|
|
|
// Count each grapheme cluster (an emoji sequence such as a flag or a skin tone, a letter with its accents) as one unit of width, as the Unicode standard does
|
|
// When false, widths are counted per code point, the way older programs expect; programs can still ask for clusters with mode 2027
|
|
// (Applies to new panes)
|
|
// Default: true
|
|
//
|
|
// grapheme_clusters false
|
|
|
|
// Whether a focused mirror of a pane in this session may resize that pane's program to the mirror's size, and whether new mirrors opened in this session resize their source pane by default
|
|
// Default: true
|
|
//
|
|
// mirror_resizes_source_pane false
|
|
|
|
// Whether to make sure a local web server is running when a new Zellij session starts.
|
|
// This web server will allow creating new sessions and attaching to existing ones that have
|
|
// opted in to being shared in the browser.
|
|
// When enabled, navigate to http://127.0.0.1:8082
|
|
// (Requires restart)
|
|
//
|
|
// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
|
|
// If this is not desired, one can use a version of Zellij compiled without
|
|
// `web_server_capability`
|
|
//
|
|
// Possible values:
|
|
// - true
|
|
// - false
|
|
// Default: false
|
|
//
|
|
// web_server true
|
|
|
|
// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
|
|
// running (see the `web_server` option for more details).
|
|
// (Requires restart)
|
|
//
|
|
// Note: This is an administrative separation and not intended as a security measure.
|
|
//
|
|
// Possible values:
|
|
// - "on" (allow web sharing through the local web server if it
|
|
// is online)
|
|
// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
|
|
// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
|
|
// Default: "off"
|
|
//
|
|
// web_sharing "on"
|
|
|
|
// The ip address the web server should listen on when it starts
|
|
// Default: "127.0.0.1"
|
|
// (Requires restart)
|
|
//
|
|
// web_server_ip "127.0.0.1"
|
|
|
|
|
|
// A path to a certificate file to be used when setting up the web client to serve the
|
|
// connection over HTTPs
|
|
// (Requires restart)
|
|
//
|
|
// web_server_cert "/path/to/my/cert.pem"
|
|
|
|
// A path to a key file to be used when setting up the web client to serve the
|
|
// connection over HTTPs
|
|
// (Requires restart)
|
|
//
|
|
// web_server_key "/path/to/my/key.pem"
|
|
|
|
// Whether to enforce https connections to the web server when it is bound to localhost
|
|
// (127.0.0.0/8)
|
|
// (Requires restart)
|
|
//
|
|
// Note: https is enforced when bound to non-local interfaces, unless
|
|
// dangerously_allow_web_serving_without_a_certificate is set
|
|
//
|
|
// Default: false
|
|
//
|
|
// enforce_https_for_localhost true
|
|
|
|
// DANGEROUS: allow the web server to serve plain, unencrypted HTTP when bound to a
|
|
// non-local interface without web_server_cert and web_server_key.
|
|
// Anyone on the network can read and tamper with the traffic, including login tokens.
|
|
// Only use behind a trusted TLS-terminating proxy or on a fully trusted network.
|
|
// Does not override enforce_https_for_localhost.
|
|
// Default: false
|
|
// (Requires restart)
|
|
//
|
|
// dangerously_allow_web_serving_without_a_certificate true
|
|
|
|
// The port the web server should listen on when it starts
|
|
// Default: 8082
|
|
// (Requires restart)
|
|
//
|
|
// web_server_port 8082
|
|
|
|
// Whether to stack panes when resizing beyond a certain size
|
|
// Default: true
|
|
//
|
|
// stacked_resize false
|
|
|
|
// Whether to let programs running inside panes read the paste buffer (clipboard)
|
|
// with the OSC 52 escape sequence. When enabled, any program in any pane -
|
|
// including one running on a remote machine over SSH - can read the clipboard
|
|
// without the user being asked.
|
|
// Default: false
|
|
//
|
|
// dangerously_enable_paste_buffer_read true
|
|
|
|
// Whether stacked panes display as a list with the expanded pane pinned to the bottom
|
|
// Default: true
|
|
//
|
|
// stacked_pane_list false
|
|
|
|
// Whether new stacks show their titles in a column (vertical) or in a row (horizontal)
|
|
// Options:
|
|
// - vertical (Default)
|
|
// - horizontal
|
|
//
|
|
// stacked_pane_list_orientation "horizontal"
|
|
|
|
// Whether to show release notes on first version run
|
|
// (Requires restart)
|
|
// Default: true
|
|
//
|
|
// show_release_notes false
|
|
|
|
// Whether to enable mouse hover effects and pane grouping functionality
|
|
// Default: true
|
|
//
|
|
// advanced_mouse_actions false
|
|
|
|
// Whether Ctrl+ScrollWheel resizes panes
|
|
// Default: true
|
|
//
|
|
// mouse_scroll_resize false
|
|
|
|
// Whether scrolling a pane implicitly enters and exits Scroll mode
|
|
// Default: true
|
|
//
|
|
// scroll_mode_sync false
|
|
|
|
// Whether to enable mouse hover visual effects (frame highlight and help text)
|
|
// Default: true
|
|
//
|
|
// mouse_hover_effects false
|
|
|
|
// Whether to show mouse hover help-text tips (resize help and group shortcuts)
|
|
// Default: true
|
|
//
|
|
// mouse_hover_tips false
|
|
|
|
// Whether triple-clicking inside command output marked by the shell (OSC 133) selects
|
|
// the command and its output instead of the logical line
|
|
// Default: true
|
|
//
|
|
// osc133_command_selection false
|
|
|
|
// Characters that terminate a word when double-clicking to select it
|
|
// whitespace is always a separator and need not be listed here
|
|
// Default: "[]{}<>()"
|
|
//
|
|
// word_separators "[]{}<>()"
|
|
|
|
// Whether to output OSC8 hyperlink sequences
|
|
// (Requires restart)
|
|
// Default: true
|
|
//
|
|
// osc8_hyperlinks false
|
|
|
|
// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
|
|
// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
|
|
// of this command will be used instead of the discovered RESURRECT_COMMAND
|
|
// can be useful for removing wrappers around commands
|
|
// Note: be sure to escape backslashes and similar characters properly
|
|
//
|
|
// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
|
|
|
|
// Number of background threads used by `zellij attach <url>` when it connects
|
|
// from a terminal to a session on another machine. One set of threads is made
|
|
// for that program, not one per client. The web server, browser clients and
|
|
// local sessions are not affected.
|
|
// (Requires restart)
|
|
//
|
|
// Most of the work runs on the program's main thread, so these threads are
|
|
// usually idle. Lower it only to save resources on a very small machine.
|
|
// Set to 0 to use the number of (physical) CPU cores.
|
|
// client_async_worker_tasks 4
|
|
|
|
// How often (in seconds) sessions are saved to disk so they can be resurrected
|
|
// (Requires restart)
|
|
// Default: 60
|
|
//
|
|
// serialization_interval 60
|
|
|
|
// Whether to show a startup tip when a new session starts
|
|
// (Requires restart)
|
|
// Default: true
|
|
//
|
|
show_startup_tips false
|
|
|
|
// Whether to flash pane and tab frames (and add a [!] suffix) when a terminal bell rings
|
|
// Default: true
|
|
//
|
|
// visual_bell false
|
|
|
|
// Whether hovering the mouse over a pane focuses it
|
|
// Default: false
|
|
//
|
|
// focus_follows_mouse true
|
|
|
|
// Whether the click that focuses a pane is also sent to the program running in it
|
|
// Default: false
|
|
//
|
|
// mouse_click_through true
|
|
|
|
// Whether to show the other sessions indicator in the tab bar and compact bar
|
|
// Default: true
|
|
//
|
|
// session_indicator false
|
|
|
|
// Whether to briefly show the name of the new swap layout when it is changed
|
|
// Default: true
|
|
//
|
|
// swap_layout_notification false
|
|
|
|
// How other sessions are suggested on the session card and in the session manager
|
|
// The first matching rule decides the order; within a rule, running sessions come first,
|
|
// then the most recently used
|
|
// Facts: directory, git_repo, git_branch, git_worktree, hostname, or a custom `fact`
|
|
// fact "project" command="echo $PROJECT" column="project" at="live"
|
|
// script "~/.config/zellij/rank.sh" timeout_ms=300 hide_unlisted=false
|
|
// record "~/.config/zellij/record.sh"
|
|
//
|
|
// session_suggestions {
|
|
// match "directory" "git_branch"
|
|
// match "git_repo" "git_branch"
|
|
// match "directory"
|
|
// match "git_repo"
|
|
// then "recent"
|
|
// }
|
|
|
|
// Whether a right click opens the right-click menu
|
|
// When off, right clicks go to the focused pane only and Alt + right click clears the pane group
|
|
// Plugins can still open the menu through their API
|
|
// Default: true
|
|
//
|
|
// context_menu_enabled false
|
|
|
|
// How notifications from programs inside Zellij are passed to the outer terminal
|
|
// Options:
|
|
// - auto (Default - pick the best protocol the terminal supports)
|
|
// - osc9
|
|
// - osc99
|
|
// - bell
|
|
// - off
|
|
//
|
|
// host_notification_protocol "auto"
|
|
|
|
// Settings for the web client (font, font_size, cursor_blink, cursor_style, ...)
|
|
// (Requires restart)
|
|
web_client {
|
|
// Font family the browser draws the terminal with
|
|
font "monospace"
|
|
|
|
// Font size in pixels
|
|
// font_size 14
|
|
|
|
// Whether the cursor blinks
|
|
// cursor_blink false
|
|
|
|
// Cursor shape: "block", "bar" or "underline"
|
|
// cursor_style "block"
|
|
|
|
// Cursor shape while the browser tab is not focused: "outline", "block",
|
|
// "bar", "underline" or "no_style"
|
|
// cursor_inactive_style "outline"
|
|
|
|
// Whether the Option key on macOS acts as Meta (Alt)
|
|
// Default: true
|
|
// mac_option_is_meta false
|
|
|
|
// The address the web client is served under, when it sits behind a
|
|
// reverse proxy at a sub-path
|
|
// base_url "/zellij"
|
|
}
|
|
|
|
// Options for the Zellij terminal (`zellij terminal`). Every key is optional;
|
|
// with the whole section absent the terminal behaves exactly as it does with no
|
|
// configuration at all.
|
|
//
|
|
// terminal {
|
|
// // Font family to render with, resolved through the system's font
|
|
// // configuration. An unresolvable family falls back to the built-in font.
|
|
// font "Iosevka Term"
|
|
//
|
|
// // Families for bold, italic and bold italic text, each in place of the
|
|
// // font family's own face for that style. A style without one keeps the
|
|
// // font family's face, and so does one whose family does not resolve.
|
|
// font_bold "Iosevka Term"
|
|
// font_italic "Iosevka Term"
|
|
// font_bold_italic "Iosevka Term"
|
|
//
|
|
// // Font size in points, as other terminals measure it
|
|
// font_size 12
|
|
//
|
|
// // Whether to consult the system's fonts for characters the primary font
|
|
// // lacks
|
|
// system_fonts true
|
|
//
|
|
// // Whether the font's ligatures are formed, so that sequences like -> or
|
|
// // != are drawn as one shape.
|
|
// ligatures true
|
|
//
|
|
// // Weight of the regular face: a number from 100 to 900, or one of
|
|
// // "thin", "extralight", "light", "regular", "medium", "semibold",
|
|
// // "bold", "extrabold" or "black". Bold text uses a face 300 heavier,
|
|
// // up to 900. Variable fonts are set to the exact weight.
|
|
// font_weight "regular"
|
|
//
|
|
// // OpenType features to turn on, or off with a leading -, as
|
|
// // four-character tags. Listing any feature shapes text even with
|
|
// // ligatures false; then "liga", "calt" and "dlig" stay off unless
|
|
// // listed here.
|
|
// font_features "ss01" "zero" "-calt"
|
|
//
|
|
// // Height of a cell as a multiple of the font's own line height. The
|
|
// // extra space is shared evenly above and below the text.
|
|
// line_height 1.0
|
|
//
|
|
// // Width of a cell as a multiple of the font's own character width.
|
|
// // Characters keep their shape and are centered in the cell.
|
|
// cell_width 1.0
|
|
//
|
|
// // Pixels to move the text down (or up, when negative) inside its cell
|
|
// baseline_offset 0
|
|
//
|
|
// // Pixels to move the underline down (or up, when negative), and pixels
|
|
// // to add to (or remove from) its thickness. Both stay inside the cell.
|
|
// underline_offset 0
|
|
// underline_thickness 0
|
|
//
|
|
// // Empty space around the text, in pixels, scaled with the display but
|
|
// // not with zoom. `padding` sets every side; padding_top, padding_right,
|
|
// // padding_bottom and padding_left override one side each.
|
|
// padding 0
|
|
// padding_top 0
|
|
// padding_right 0
|
|
// padding_bottom 0
|
|
// padding_left 0
|
|
//
|
|
// // Whether the pixels left over when the window is not a whole number of
|
|
// // cells are shared evenly on all sides instead of all going to the
|
|
// // right and bottom edges.
|
|
// padding_balance false
|
|
//
|
|
// // How the padding is painted: "background" (the default) uses the
|
|
// // theme background and the window opacity; "extend" continues the
|
|
// // background of the nearest cell at the edge of the grid.
|
|
// padding_color "background"
|
|
//
|
|
// // The cursor shape to draw where the application in the pane has not
|
|
// // asked for one: "block", "bar" or "underline". An application that does
|
|
// // ask (with CSI <n> q) still gets the shape it asked for.
|
|
// cursor_style "block"
|
|
//
|
|
// // Whether the cursor blinks. Unlike cursor_style, this wins over the
|
|
// // application: set it to force a blinking or a steady cursor whatever
|
|
// // the pane asks for. Leave it out to blink exactly when the application
|
|
// // asks for a blinking cursor.
|
|
// cursor_blink false
|
|
//
|
|
// // The chords the window claims for itself to paste. List no
|
|
// // chords to leave them all to the session.
|
|
// paste_keys "Ctrl Shift v" "Shift Insert"
|
|
//
|
|
// // The chords that copy text marked with shift+drag (see
|
|
// // shift_drag_selects).
|
|
// copy_keys "Ctrl Shift c"
|
|
//
|
|
// // The chords that switch the window between fullscreen and the size it
|
|
// // had before. List no chords to leave them all to the session.
|
|
// fullscreen_keys "F11"
|
|
//
|
|
// // The chords that make text larger, make it smaller, and return it to
|
|
// // the configured font size. List no chords to leave them to the session.
|
|
// zoom_in_keys "Ctrl =" "Ctrl +"
|
|
// zoom_out_keys "Ctrl -"
|
|
// zoom_reset_keys "Ctrl 0"
|
|
//
|
|
// // Whether the middle mouse button pastes the primary selection (the
|
|
// // text last selected anywhere on Linux). A pane whose program asks for
|
|
// // mouse reporting still gets the click instead.
|
|
// middle_click_paste true
|
|
//
|
|
// // What the window does when a program rings the bell: "visual" (the
|
|
// // default) asks the desktop to draw attention to the window, eg. by
|
|
// // highlighting it in the taskbar, "audible" plays the system sound,
|
|
// // "both" or "none"
|
|
// bell "visual"
|
|
//
|
|
// // Whether programs in a session on another machine (attached with
|
|
// // `zellij attach <url>`) may read this computer's clipboard with OSC 52.
|
|
// // Local sessions follow dangerously_enable_paste_buffer_read instead.
|
|
// allow_remote_clipboard_read false
|
|
//
|
|
// // Whether the mouse pointer is hidden while typing, until it moves again
|
|
// hide_pointer_while_typing false
|
|
//
|
|
// // Whether the cursor is drawn as an outlined block while the window is
|
|
// // not focused
|
|
// cursor_unfocused_hollow true
|
|
//
|
|
// // The lowest allowed contrast ratio between text and its background, from
|
|
// // 1.0 (off) to 21.0; text colours are adjusted when below it.
|
|
// minimum_contrast 1.0
|
|
//
|
|
// // Whether scrolling through a pane's scrollback slides the text to its
|
|
// // new position instead of jumping. Applies to the mouse wheel, touchpad
|
|
// // and scroll keys alike.
|
|
// smooth_scrolling true
|
|
//
|
|
// // How long one scroll slide takes, in milliseconds, from 1 to 1000.
|
|
// // Ignored when smooth_scrolling is false.
|
|
// scroll_animation_duration 100
|
|
//
|
|
// // Whether a fast two-finger touchpad swipe through a pane's scrollback
|
|
// // keeps scrolling for a moment after the fingers lift, slowing down
|
|
// // until it stops. Touching the touchpad again, clicking, typing or
|
|
// // moving the pointer to another pane stops it at once. Works
|
|
// // independently of smooth_scrolling. Currently only has an effect on
|
|
// // Wayland; on X11, Windows and macOS it is ignored (macOS already
|
|
// // provides its own touchpad momentum).
|
|
// scroll_momentum true
|
|
//
|
|
// // How quickly that continued scrolling slows down, from 0.5 to 10.0.
|
|
// // Higher values stop sooner. Currently only has an effect on Wayland.
|
|
// scroll_momentum_friction 2.0
|
|
//
|
|
// // Whether clicking an OSC 8 hyperlink opens it in the platform's default
|
|
// // handler. A plain left click opens it; over a pane whose program has
|
|
// // asked for mouse reporting, hold shift instead. Dragging is a selection
|
|
// // and never opens anything, and the click still reaches the pane either
|
|
// // way. Only http, https, ftp, ftps, mailto and file URLs are ever handed
|
|
// // to the opener.
|
|
// open_links true
|
|
//
|
|
// // Whether shift+click opens a link in every pane, not only in panes
|
|
// // whose program has asked for mouse reporting. Has no effect when
|
|
// // open_links is false.
|
|
// open_links_with_shift true
|
|
//
|
|
// // Whether dragging with shift held marks text anywhere in the window,
|
|
// // including the tab bar, status bar and pane frames, and across pane
|
|
// // borders.
|
|
// shift_drag_selects true
|
|
//
|
|
// // Whether a session is shown in at most one desktop app window. When on,
|
|
// // switching a window to a session that another app window already shows
|
|
// // brings that other window forward and closes the switching one; the
|
|
// // session it left keeps running. When off, the window always switches in
|
|
// // place. Windows opened with --standalone always switch in place.
|
|
// reuse_session_windows true
|
|
//
|
|
// // How opaque the window is, from 0.0 (invisible) to 1.0 (solid). Needs
|
|
// // a compositor; without one the window stays solid.
|
|
// opacity 1.0
|
|
//
|
|
// // What the opacity applies to. "background" lets only the default
|
|
// // background show through and keeps text, colored cells, the cursor and
|
|
// // images solid. "everything" fades the whole window evenly.
|
|
// opacity_mode "background"
|
|
//
|
|
// // Whether to ask the compositor to blur what is behind the window. Only
|
|
// // visible with an opacity below 1.0; supported on macOS, KDE Plasma and
|
|
// // Windows 11 22H2 or later, and ignored elsewhere. On Windows it is the
|
|
// // system's Acrylic material, which shows only while the window is focused.
|
|
// blur false
|
|
//
|
|
// // Which Option key acts as Alt on macOS: "left" (the default), "right",
|
|
// // "both" or "none". The other one keeps typing characters such as å or ˙.
|
|
// // Ignored on other platforms.
|
|
// macos_option_as_alt "left"
|
|
//
|
|
// // How a new window opens: "windowed", "maximized", "fullscreen", or
|
|
// // "remember" (the default), which reopens at the size, counted in rows
|
|
// // and columns, and in the state the last window was closed in. With
|
|
// // nothing remembered yet, "remember" opens windowed at 120x40.
|
|
// // (Requires restart)
|
|
// startup_mode "remember"
|
|
//
|
|
// // Where a command opens when another app uses Zellij as its terminal
|
|
// // (`zellij terminal -e <command>`, as xdg-terminal-exec or a file manager
|
|
// // runs it): "new_session" (the default) gives it a session of its own;
|
|
// // "existing_session" opens it as a new tab in the session whose window
|
|
// // was focused last, or in a new session when no window is open.
|
|
// terminal_requests "new_session"
|
|
//
|
|
// // The size, in columns and rows, of a window that has no remembered
|
|
// // size to reopen at. The --cols and --rows arguments still win, and a
|
|
// // size remembered by "remember" wins over these. A maximized or
|
|
// // fullscreen window returns to this size when it is restored.
|
|
// // (Requires restart)
|
|
// initial_columns 120
|
|
// initial_rows 40
|
|
//
|
|
// // Colors the window paints itself. `foreground` and
|
|
// // `background` default to the active Zellij theme; the sixteen ANSI
|
|
// // colors have no theme equivalent and default to the standard table.
|
|
// theme {
|
|
// foreground "#e5e5e5"
|
|
// background "#000000"
|
|
// cursor "#e5e5e5"
|
|
// black "#000000"
|
|
// red "#cd0000"
|
|
// green "#00cd00"
|
|
// yellow "#cdcd00"
|
|
// blue "#0000ee"
|
|
// magenta "#cd00cd"
|
|
// cyan "#00cdcd"
|
|
// white "#e5e5e5"
|
|
// bright_black "#7f7f7f"
|
|
// bright_red "#ff0000"
|
|
// bright_green "#00ff00"
|
|
// bright_yellow "#ffff00"
|
|
// bright_blue "#5c5cff"
|
|
// bright_magenta "#ff00ff"
|
|
// bright_cyan "#00ffff"
|
|
// bright_white "#ffffff"
|
|
// }
|
|
// }
|
|
|
|
// Status of panes, tabs and sessions: the symbols on frames and tabs, the inbox,
|
|
// and the desktop app's tray icon and notifications. Every key is optional.
|
|
// To turn all of this off, set `enabled false`.
|
|
//
|
|
// Each pane can also be set apart from this, from its right-click menu, the
|
|
// pane mode keys or `zellij action`:
|
|
// - Watch pane (WatchPane): asks for more. Every finished command, even a
|
|
// short one, the pane exiting and its output going quiet all count as
|
|
// needing you. New output alone is not reported. Stays on until turned off.
|
|
// - Ignore output (IgnorePaneOutput): hides only the "new output" note;
|
|
// needing you, failures and finished commands are still reported.
|
|
// - Mute pane (MutePane, also MuteTab and MuteSession): hides everything the
|
|
// pane reports, including desktop notifications. It is still tracked, so
|
|
// unmuting shows its current state.
|
|
//
|
|
// attention {
|
|
// // Track what panes need and show it anywhere. When false, panes report
|
|
// // nothing: no markers, inbox, session card, counts in the session
|
|
// // indicator, tray badge or desktop notifications, and the watch and
|
|
// // mute entries leave the right-click menu. The other keys below only
|
|
// // apply when this is true.
|
|
// enabled true
|
|
//
|
|
// // Show what a pane needs (approval, a failure, a finished command) in
|
|
// // its frame title.
|
|
// frame_markers true
|
|
//
|
|
// // Show what a tab's panes need as a symbol in the tab bar.
|
|
// tab_markers true
|
|
//
|
|
// // Tell the terminal Zellij runs in what the session needs, when that
|
|
// // terminal supports it.
|
|
// host_status true
|
|
//
|
|
// // Show the desktop app's tray icon (sessions and notifications go on
|
|
// // when it is hidden).
|
|
// tray_icon true
|
|
//
|
|
// // Notice when busy output goes quiet in "all" panes, or only in
|
|
// // "watched" ones.
|
|
// idle_rule "all"
|
|
//
|
|
// // Seconds a successful command must run before it is reported as done.
|
|
// done_threshold_secs 10
|
|
//
|
|
// // List commands as working once they run longer than
|
|
// // done_threshold_secs (off unless turned on). Commands that use the
|
|
// // full screen (vim, less, htop) or that you type into are left out.
|
|
// track_commands false
|
|
//
|
|
// // Seconds of steady output before quiet detection applies.
|
|
// idle_activity_secs 10
|
|
//
|
|
// // Seconds of silence after busy output that count as gone quiet.
|
|
// idle_silence_secs 3
|
|
//
|
|
// // When a new session shows its session card: "attention" (when
|
|
// // something needs you), "always" or "never".
|
|
// startup_card "attention"
|
|
//
|
|
// // Which inbox items the desktop app shows as desktop notifications,
|
|
// // one type per line.
|
|
// desktop_notifications {
|
|
// // Show a pop-up when something needs you.
|
|
// needs_you true
|
|
//
|
|
// // Show a pop-up when a command fails.
|
|
// failed true
|
|
//
|
|
// // Show a pop-up when a long command finishes.
|
|
// done true
|
|
// }
|
|
//
|
|
// // Which inbox items the desktop app's tray icon counts. The badge shows
|
|
// // the count of the most important type that is turned on.
|
|
// tray_badge {
|
|
// // Count items that need you.
|
|
// needs_you true
|
|
//
|
|
// // Count failed commands.
|
|
// failed true
|
|
//
|
|
// // Count finished commands.
|
|
// done true
|
|
//
|
|
// // Count working programs.
|
|
// working true
|
|
//
|
|
// // Count panes that went quiet.
|
|
// quiet false
|
|
//
|
|
// // Count panes with output you have not seen.
|
|
// new_output false
|
|
// }
|
|
//
|
|
// // The colour of the tray badge for each type, as a hex colour. The inbox
|
|
// // and the sessions list use these colours too. A type without a colour
|
|
// // keeps the default badge colour and the theme colour in lists.
|
|
// tray_badge_colors {
|
|
// // Items that need you.
|
|
// needs_you "#ff8c00"
|
|
//
|
|
// // Failed commands.
|
|
// failed "#e5484d"
|
|
//
|
|
// // Finished commands.
|
|
// done "#30a46c"
|
|
//
|
|
// // Working programs.
|
|
// working "#3e82f7"
|
|
//
|
|
// // Panes that went quiet.
|
|
// quiet "#8b8d98"
|
|
//
|
|
// // Panes with output you have not seen.
|
|
// new_output "#12a594"
|
|
// }
|
|
//
|
|
// // Show the program and command text in desktop notifications.
|
|
// notification_details true
|
|
// }
|