2025-06-27 19:45:43 +05:30
//
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /home/avinal/.config/zellij/config.kdl.bak
//
2024-06-07 18:18:35 +05:30
keybinds clear-defaults= true {
locked {
2025-06-27 19:45:43 +05:30
bind " Ctrl space " { SwitchToMode " normal " ; }
}
pane {
bind " left " { NewPane " left " ; SwitchToMode " normal " ; }
bind " down " { NewPane " down " ; SwitchToMode " normal " ; }
bind " up " { NewPane " up " ; SwitchToMode " normal " ; }
bind " right " { NewPane " right " ; SwitchToMode " normal " ; }
bind " e " { TogglePaneEmbedOrFloating ; SwitchToMode " normal " ; }
bind " f " { ToggleFocusFullscreen ; SwitchToMode " normal " ; }
bind " Alt p " { SwitchToMode " normal " ; }
bind " r " { SwitchToMode " renamepane " ; PaneNameInput 0 ; }
bind " w " { ToggleFloatingPanes ; SwitchToMode " normal " ; }
bind " z " { TogglePaneFrames ; SwitchToMode " normal " ; }
}
tab {
bind " left " { GoToPreviousTab ; }
bind " down " { GoToNextTab ; }
bind " up " { GoToPreviousTab ; }
bind " right " { GoToNextTab ; }
bind " b " { BreakPane ; SwitchToMode " normal " ; }
bind " n " { NewTab ; SwitchToMode " normal " ; }
bind " r " { SwitchToMode " renametab " ; TabNameInput 0 ; }
bind " s " { ToggleActiveSyncTab ; SwitchToMode " normal " ; }
bind " Alt t " { SwitchToMode " normal " ; }
bind " x " { CloseTab ; SwitchToMode " normal " ; }
bind " tab " { ToggleTab ; }
2024-06-07 18:18:35 +05:30
}
resize {
2025-06-27 19:45:43 +05:30
bind " left " { Resize " Increase left " ; }
bind " down " { Resize " Increase down " ; }
bind " up " { Resize " Increase up " ; }
bind " right " { Resize " Increase right " ; }
bind " + " { Resize " Increase " ; }
2024-06-07 18:18:35 +05:30
bind " - " { Resize " Decrease " ; }
2025-06-27 19:45:43 +05:30
bind " = " { Resize " Increase " ; }
bind " Alt r " { SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
}
move {
2025-06-27 19:45:43 +05:30
bind " left " { MovePane " left " ; }
bind " down " { MovePane " down " ; }
bind " up " { MovePane " up " ; }
bind " right " { MovePane " right " ; }
bind " Alt m " { SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
}
scroll {
2025-06-27 19:45:43 +05:30
bind " e " { EditScrollback ; SwitchToMode " normal " ; }
bind " s " { SwitchToMode " entersearch " ; SearchInput 0 ; }
2024-06-07 18:18:35 +05:30
}
search {
2025-06-27 19:45:43 +05:30
bind " left " { PageScrollUp ; }
bind " right " { PageScrollDown ; }
bind " c " { SearchToggleOption " CaseSensitivity " ; }
bind " Alt c " { ScrollToBottom ; SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
bind " n " { Search " down " ; }
2025-06-27 19:45:43 +05:30
bind " o " { SearchToggleOption " WholeWord " ; }
2024-06-07 18:18:35 +05:30
bind " p " { Search " up " ; }
bind " w " { SearchToggleOption " Wrap " ; }
}
session {
2025-06-27 19:45:43 +05:30
bind " Alt o " { SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
bind " w " {
LaunchOrFocusPlugin " session-manager " {
floating true
move_to_focused_tab true
2025-06-27 19:45:43 +05:30
}
SwitchToMode " normal "
2024-06-07 18:18:35 +05:30
}
}
2025-06-27 19:45:43 +05:30
shared_except " locked " " tmux " {
bind " Ctrl a " { SwitchToMode " tmux " ; }
2024-06-07 18:18:35 +05:30
}
shared_except " locked " {
2025-06-27 19:45:43 +05:30
bind " Alt left " { MoveFocus " left " ; }
bind " Alt down " { MoveFocus " down " ; }
bind " Alt up " { MoveFocus " up " ; }
bind " Alt right " { MoveFocus " right " ; }
bind " Ctrl space " { SwitchToMode " locked " ; }
bind " Alt + " { Resize " Increase " ; }
bind " Alt , " { GoToPreviousTab ; }
2024-06-07 18:18:35 +05:30
bind " Alt - " { Resize " Decrease " ; }
2025-06-27 19:45:43 +05:30
bind " Alt . " { GoToNextTab ; }
bind " Alt 1 " { GoToTab 1 ; SwitchToMode " normal " ; }
bind " Alt 2 " { GoToTab 2 ; SwitchToMode " normal " ; }
bind " Alt 3 " { GoToTab 3 ; SwitchToMode " normal " ; }
bind " Alt 4 " { GoToTab 4 ; SwitchToMode " normal " ; }
bind " Alt 5 " { GoToTab 5 ; SwitchToMode " normal " ; }
bind " Alt 6 " { GoToTab 6 ; SwitchToMode " normal " ; }
bind " Alt 7 " { GoToTab 7 ; SwitchToMode " normal " ; }
bind " Alt 8 " { GoToTab 8 ; SwitchToMode " normal " ; }
bind " Alt 9 " { GoToTab 9 ; SwitchToMode " normal " ; }
bind " Alt < " { GoToPreviousTab ; }
bind " Alt = " { Resize " Increase " ; }
bind " Alt > " { GoToNextTab ; }
2024-06-07 18:18:35 +05:30
bind " Alt [ " { PreviousSwapLayout ; }
bind " Alt ] " { NextSwapLayout ; }
2025-06-27 19:45:43 +05:30
bind " Alt n " { NewPane ; }
bind " Alt q " { Quit ; }
}
shared_except " locked " " move " {
bind " Alt m " { SwitchToMode " move " ; }
}
shared_except " locked " " session " {
bind " Alt o " { SwitchToMode " session " ; }
}
shared_except " locked " " scroll " " search " {
bind " Alt s " { SwitchToMode " scroll " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
shared_except " locked " " tab " {
bind " Alt t " { SwitchToMode " tab " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
shared_except " locked " " pane " {
bind " Alt p " { SwitchToMode " pane " ; }
}
shared_except " locked " " resize " {
bind " Alt r " { SwitchToMode " resize " ; }
}
shared_except " normal " " locked " " entersearch " {
bind " enter " { SwitchToMode " normal " ; }
}
shared_except " normal " " locked " " entersearch " " renametab " " renamepane " {
bind " esc " { SwitchToMode " normal " ; }
}
shared_among " pane " " tmux " {
bind " x " { CloseFocus ; SwitchToMode " normal " ; }
}
shared_among " scroll " " search " {
bind " PageDown " { PageScrollDown ; }
bind " PageUp " { PageScrollUp ; }
bind " down " { ScrollDown ; }
bind " up " { ScrollUp ; }
bind " Alt s " { SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
entersearch {
bind " Alt c " { SwitchToMode " scroll " ; }
bind " esc " { SwitchToMode " scroll " ; }
bind " enter " { SwitchToMode " search " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
renametab {
bind " esc " { UndoRenameTab ; SwitchToMode " tab " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
shared_among " renametab " " renamepane " {
bind " Alt c " { SwitchToMode " normal " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
renamepane {
bind " esc " { UndoRenamePane ; SwitchToMode " pane " ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
shared_among " session " " tmux " {
bind " d " { Detach ; }
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
tmux {
bind " left " { MoveFocus " left " ; SwitchToMode " normal " ; }
bind " down " { MoveFocus " down " ; SwitchToMode " normal " ; }
bind " up " { MoveFocus " up " ; SwitchToMode " normal " ; }
bind " right " { MoveFocus " right " ; SwitchToMode " normal " ; }
bind " space " { NextSwapLayout ; }
bind " , " { SwitchToMode " renametab " ; }
bind " - " { NewPane " down " ; SwitchToMode " normal " ; }
bind " [ " { SwitchToMode " scroll " ; }
bind " Ctrl a " { Write 2 ; SwitchToMode " normal " ; }
bind " c " { NewTab ; SwitchToMode " normal " ; }
bind " n " { GoToNextTab ; SwitchToMode " normal " ; }
bind " p " { GoToPreviousTab ; SwitchToMode " normal " ; }
bind " z " { ToggleFocusFullscreen ; SwitchToMode " normal " ; }
bind " | " { NewPane " right " ; SwitchToMode " normal " ; }
}
}
themes {
carbonfox {
text_unselected {
base 255 255 255
background 53 53 53
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
text_selected {
base 255 255 255
background 42 42 42
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
ribbon_selected {
base 53 53 53
background 37 190 106
emphasis_0 238 83 150
emphasis_1 255 168 123
emphasis_2 190 149 255
emphasis_3 51 177 255
}
ribbon_unselected {
base 53 53 53
background 242 244 248
emphasis_0 238 83 150
emphasis_1 255 255 255
emphasis_2 51 177 255
emphasis_3 190 149 255
}
table_title {
base 37 190 106
background 0
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
table_cell_selected {
base 255 255 255
background 42 42 42
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
table_cell_unselected {
base 255 255 255
background 53 53 53
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
list_selected {
base 255 255 255
background 42 42 42
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
list_unselected {
base 255 255 255
background 53 53 53
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 37 190 106
emphasis_3 190 149 255
}
frame_selected {
base 37 190 106
background 0
emphasis_0 255 168 123
emphasis_1 61 219 217
emphasis_2 190 149 255
emphasis_3 0
}
frame_highlight {
base 255 168 123
background 0
emphasis_0 255 168 123
emphasis_1 255 168 123
emphasis_2 255 168 123
emphasis_3 255 168 123
}
exit_code_success {
base 37 190 106
background 0
emphasis_0 61 219 217
emphasis_1 53 53 53
emphasis_2 190 149 255
emphasis_3 51 177 255
}
exit_code_error {
base 238 83 150
background 0
emphasis_0 248 225 124
emphasis_1 0
emphasis_2 0
emphasis_3 0
}
multiplayer_user_colors {
player_1 190 149 255
player_2 51 177 255
player_3 0
player_4 248 225 124
player_5 61 219 217
player_6 0
player_7 238 83 150
player_8 0
player_9 0
player_10 0
}
2024-06-07 18:18:35 +05:30
}
}
2025-06-27 19:45:43 +05:30
// Plugin aliases - can be used to change the implementation of Zellij
// changing these requires a restart to take effect
2024-06-07 18:18:35 +05:30
plugins {
2025-06-27 19:45:43 +05:30
about location= " zellij:about "
2024-06-07 18:18:35 +05:30
compact-bar location= " zellij:compact-bar "
2025-06-27 19:45:43 +05:30
configuration location= " zellij:configuration "
2024-06-07 18:18:35 +05:30
filepicker location= " zellij:strider " {
cwd " / "
}
2025-06-27 19:45:43 +05:30
plugin-manager location= " zellij:plugin-manager "
session-manager location= " zellij:session-manager "
status-bar location= " zellij:status-bar "
strider location= " zellij:strider "
tab-bar location= " zellij:tab-bar "
welcome-screen location= " zellij:session-manager " {
welcome_screen false
2024-12-02 19:57:09 +05:30
}
2024-06-07 18:18:35 +05:30
}
2025-06-27 19:45:43 +05:30
// Plugins to load in the background when a new session starts
// eg. "file:/path/to/my-plugin.wasm"
// eg. "https://example.com/my-plugin.wasm"
load_plugins {
}
// Use a simplified UI without special fonts (arrow glyphs)
2024-06-07 18:18:35 +05:30
// Options:
// - true
2025-06-27 19:45:43 +05:30
// - false (Default)
//
simplified_ui false
2024-06-07 18:18:35 +05:30
// Choose the theme that is specified in the themes section.
// Default: default
2025-06-27 19:45:43 +05:30
//
2024-06-07 18:18:35 +05:30
theme " carbonfox "
2025-06-27 19:45:43 +05:30
// Choose the base input mode of zellij.
2024-06-07 18:18:35 +05:30
// Default: normal
2025-06-27 19:45:43 +05:30
//
2024-06-07 18:18:35 +05:30
// default_mode "locked"
2025-06-27 19:45:43 +05:30
// 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 "/tmp"
// The name of the default layout to load on startup
// Default: "default"
//
default_layout " terminal "
// The folder in which Zellij will look for layouts
// (Requires restart)
//
// layout_dir "/tmp"
// The folder in which Zellij will look for themes
// (Requires restart)
//
// theme_dir "/tmp"
2024-06-07 18:18:35 +05:30
// Toggle enabling the mouse mode.
// On certain configurations, or terminals this could
// potentially interfere with copying text.
// Options:
// - true (default)
// - false
2025-06-27 19:45:43 +05:30
//
2024-06-07 18:18:35 +05:30
// mouse_mode false
2025-06-27 19:45:43 +05:30
// Toggle having pane frames around the panes
// Options:
// - true (default, enabled)
// - false
//
// pane_frames false
// 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
// 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"
2024-06-07 18:18:35 +05:30
// 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.
2025-06-27 19:45:43 +05:30
// (Requires restart)
2024-06-07 18:18:35 +05:30
// Valid values: positive integers
// Default value: 10000
2025-06-27 19:45:43 +05:30
//
2024-12-02 19:57:09 +05:30
scroll_buffer_size 100000
2025-06-27 19:45:43 +05:30
2024-06-07 18:18:35 +05:30
// 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
2025-06-27 19:45:43 +05:30
//
// copy_command "pbcopy"
2024-06-07 18:18:35 +05:30
// 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
2025-06-27 19:45:43 +05:30
//
2024-06-07 18:18:35 +05:30
// copy_clipboard "primary"
2025-06-27 19:45:43 +05:30
// Enable automatic copying (and clearing) of selection when releasing mouse
2024-06-07 18:18:35 +05:30
// Default: true
2025-06-27 19:45:43 +05:30
//
copy_on_select true
2024-06-07 18:18:35 +05:30
// Path to the default editor to use to edit pane scrollbuffer
// Default: $EDITOR or $VISUAL
2025-06-27 19:45:43 +05:30
scrollback_editor " /usr/local/bin/hx "
// A fixed name to always give the Zellij session.
// Consider also setting `attach_to_session true,`
// otherwise this will error if such a session exists.
// Default: <RANDOM>
//
// session_name "My singleton session"
// When `session_name` is provided, attaches to that session
// if it is already running or creates it otherwise.
2024-06-07 18:18:35 +05:30
// Default: false
2025-06-27 19:45:43 +05:30
//
// attach_to_session true
// 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
// Options:
// - true (default)
// - false
//
session_serialization true
// Whether pane viewports are serialized along with the session, default is false
// 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.
//
scrollback_lines_to_serialize 100000
2024-06-07 18:18:35 +05:30
// Enable or disable the rendering of styled and colored underlines (undercurl).
// May need to be disabled for certain unsupported terminals
2025-06-27 19:45:43 +05:30
// (Requires restart)
2024-06-07 18:18:35 +05:30
// Default: true
2025-06-27 19:45:43 +05:30
//
2024-06-07 18:18:35 +05:30
// styled_underlines false
2025-06-27 19:45:43 +05:30
// How often in seconds sessions are serialized
//
// serialization_interval 10000
2024-06-07 18:18:35 +05:30
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
// metadata info on this session)
2025-06-27 19:45:43 +05:30
// (Requires restart)
2024-06-07 18:18:35 +05:30
// Default: false
2025-06-27 19:45:43 +05:30
//
2024-12-02 19:57:09 +05:30
disable_session_metadata false
2025-06-27 19:45:43 +05:30
// 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
// Whether to stack panes when resizing beyond a certain size
// Default: true
//
// stacked_resize false
// Whether to show tips on startup
// Default: true
//
show_startup_tips false
// Whether to show release notes on first version run
// Default: true
//
// show_release_notes false