dotfiles/laptop/zellij/config.kdl

64 lines
1.4 KiB
Plaintext

//theme "catppuccin-mocha"
//theme "tokyo-night"
themes {
tokyo-night-custom {
fg "#a9b1d6"
bg "#1a1b26"
black "#32344a"
red "#f7768e"
green "#ad8ee6"
yellow "#e0af68"
blue "#7aa2f7"
magenta "#ad8ee6"
cyan "#449dab"
white "#787c99"
orange "#ff9e64"
}
}
theme "tokyo-night-custom"
default_shell "zsh"
// Copy behavior
copy_on_select true
// Scrollback buffer (lines per pane)
scroll_buffer_size 50000
// Mouse support
mouse_mode true
simplified_ui false
// Mirror session (all connected clients see the same view)
mirror_session true
// Pane frames (borders around panes)
pane_frames true
// Auto-create layouts directory
auto_layout true
// Session serialization (persist layout on exit)
session_serialization true
// Idle timeout for status bar hints (milliseconds)
scrollback_lines_to_serialize 10000
keybinds {
shared {
unbind "Ctrl p" "Ctrl t" "Ctrl n" "Ctrl h" "Ctrl s" "Ctrl o" "Ctrl q" "Ctrl g"
bind "Alt p" { SwitchToMode "pane"; }
bind "Alt t" { SwitchToMode "tab"; }
bind "Alt n" { SwitchToMode "resize"; }
bind "Alt h" { SwitchToMode "move"; }
bind "Alt s" { SwitchToMode "scroll"; }
bind "Alt o" { SwitchToMode "session"; }
bind "Alt q" { Quit; }
bind "Alt g" { SwitchToMode "locked"; }
}
locked {
unbind "Ctrl g"
bind "Alt g" { SwitchToMode "normal"; }
}
}