xonecas.io
56101
Df

dotfiles / commit e2ff9d5

feat: zellij stuff

xonecas2026-10-13 e2ff9d52e1029b1c91b108f7288178a432a2d703 parent 91240f5

5 files changed

AGENTS.md+1−0
@@ -0,0 +1 @@
1+> Never under any conditions read the contents of ./values/secrets.json.
tmpl/.bashrc+1−0
@@ -16,6 +16,7 @@ alias gp='git pull --rebase'
1616 alias gpo='git push origin'
1717
1818 alias nv='nvim'
19+alias zj='zellij a -c dev'
1920
2021 alias sto='cd {{ paths.storage }}'
2122 alias rep='cd {{ paths.repos }}'
tmpl/.config/kitty/kitty.conf+8−0
@@ -1,7 +1,15 @@
11 enabled_layouts splits
22 map ctrl+shift+enter launch --location=vsplit
33
4+remember_window_size no
5+initial_window_width 120c
6+initial_window_height 40c
7+
48 enable_audio_bell no
9+hide_window_decorations yes
10+window_padding_width 2
11+
12+disable_ligatures always
513
614 font_family {{ font.family }}
715 bold_font auto
tmpl/.config/zellij/config.kdl+672−0
@@ -0,0 +1,672 @@
1+keybinds clear-defaults=true {
2+ locked {
3+ bind "Ctrl g" { SwitchToMode "normal"; }
4+ }
5+ pane {
6+ bind "left" { MoveFocus "left"; }
7+ bind "down" { MoveFocus "down"; }
8+ bind "up" { MoveFocus "up"; }
9+ bind "right" { MoveFocus "right"; }
10+ bind ";" { FocusLastPane; }
11+ bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; }
12+ bind "d" { NewPane "down"; SwitchToMode "normal"; }
13+ bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
14+ bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
15+ bind "Shift f" { ToggleFocusNoUiFullscreen; SwitchToMode "normal"; }
16+ bind "h" { MoveFocus "left"; }
17+ bind "i" { TogglePanePinned; SwitchToMode "normal"; }
18+ bind "j" { MoveFocus "down"; }
19+ bind "k" { MoveFocus "up"; }
20+ bind "l" { MoveFocus "right"; }
21+ bind "n" { NewPane; SwitchToMode "normal"; }
22+ bind "p" { SwitchFocus; }
23+ bind "Ctrl p" { SwitchToMode "normal"; }
24+ bind "r" { NewPane "right"; SwitchToMode "normal"; }
25+ bind "s" { NewPane "stacked"; SwitchToMode "normal"; }
26+ bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
27+ bind "z" { TogglePaneFrames; SwitchToMode "normal"; }
28+ }
29+ tab {
30+ bind "left" { GoToPreviousTab; }
31+ bind "down" { GoToNextTab; }
32+ bind "up" { GoToPreviousTab; }
33+ bind "right" { GoToNextTab; }
34+ bind "1" { GoToTab 1; SwitchToMode "normal"; }
35+ bind "2" { GoToTab 2; SwitchToMode "normal"; }
36+ bind "3" { GoToTab 3; SwitchToMode "normal"; }
37+ bind "4" { GoToTab 4; SwitchToMode "normal"; }
38+ bind "5" { GoToTab 5; SwitchToMode "normal"; }
39+ bind "6" { GoToTab 6; SwitchToMode "normal"; }
40+ bind "7" { GoToTab 7; SwitchToMode "normal"; }
41+ bind "8" { GoToTab 8; SwitchToMode "normal"; }
42+ bind "9" { GoToTab 9; SwitchToMode "normal"; }
43+ bind "[" { BreakPaneLeft; SwitchToMode "normal"; }
44+ bind "]" { BreakPaneRight; SwitchToMode "normal"; }
45+ bind "b" { BreakPane; SwitchToMode "normal"; }
46+ bind "h" { GoToPreviousTab; }
47+ bind "j" { GoToNextTab; }
48+ bind "k" { GoToPreviousTab; }
49+ bind "l" { GoToNextTab; }
50+ bind "n" { NewTab; SwitchToMode "normal"; }
51+ bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
52+ bind "s" { ToggleActiveSyncTab; SwitchToMode "normal"; }
53+ bind "Ctrl t" { SwitchToMode "normal"; }
54+ bind "x" { CloseTab; SwitchToMode "normal"; }
55+ bind "tab" { ToggleTab; }
56+ }
57+ resize {
58+ bind "left" { Resize "Increase left"; }
59+ bind "down" { Resize "Increase down"; }
60+ bind "up" { Resize "Increase up"; }
61+ bind "right" { Resize "Increase right"; }
62+ bind "+" { Resize "Increase"; }
63+ bind "-" { Resize "Decrease"; }
64+ bind "=" { Resize "Increase"; }
65+ bind "H" { Resize "Decrease left"; }
66+ bind "J" { Resize "Decrease down"; }
67+ bind "K" { Resize "Decrease up"; }
68+ bind "L" { Resize "Decrease right"; }
69+ bind "h" { Resize "Increase left"; }
70+ bind "j" { Resize "Increase down"; }
71+ bind "k" { Resize "Increase up"; }
72+ bind "l" { Resize "Increase right"; }
73+ bind "Ctrl n" { SwitchToMode "normal"; }
74+ }
75+ move {
76+ bind "left" { MovePane "left"; }
77+ bind "down" { MovePane "down"; }
78+ bind "up" { MovePane "up"; }
79+ bind "right" { MovePane "right"; }
80+ bind "h" { MovePane "left"; }
81+ bind "Ctrl h" { SwitchToMode "normal"; }
82+ bind "j" { MovePane "down"; }
83+ bind "k" { MovePane "up"; }
84+ bind "l" { MovePane "right"; }
85+ bind "n" { MovePane; }
86+ bind "p" { MovePaneBackwards; }
87+ bind "tab" { MovePane; }
88+ }
89+ scroll {
90+ bind "Alt left" { MoveFocusOrTab "left"; SwitchToMode "normal"; }
91+ bind "Alt down" { MoveFocus "down"; SwitchToMode "normal"; }
92+ bind "Alt up" { MoveFocus "up"; SwitchToMode "normal"; }
93+ bind "Alt right" { MoveFocusOrTab "right"; SwitchToMode "normal"; }
94+ bind "c" { CopyLastCommandOutput; SwitchToMode "normal"; }
95+ bind "e" { EditScrollback; SwitchToMode "normal"; }
96+ bind "Alt h" { MoveFocusOrTab "left"; SwitchToMode "normal"; }
97+ bind "Alt j" { MoveFocus "down"; SwitchToMode "normal"; }
98+ bind "Alt k" { MoveFocus "up"; SwitchToMode "normal"; }
99+ bind "Alt l" { MoveFocusOrTab "right"; SwitchToMode "normal"; }
100+ bind "s" { SwitchToMode "entersearch"; SearchInput 0; }
101+ }
102+ search {
103+ bind "c" { SearchToggleOption "CaseSensitivity"; }
104+ bind "n" { Search "down"; }
105+ bind "o" { SearchToggleOption "WholeWord"; }
106+ bind "p" { Search "up"; }
107+ bind "w" { SearchToggleOption "Wrap"; }
108+ }
109+ session {
110+ bind "[" { FocusGuestSession; SwitchToMode "normal"; }
111+ bind "]" { FocusHostSession; SwitchToMode "normal"; }
112+ bind "a" {
113+ LaunchOrFocusPlugin "zellij:about" {
114+ floating true
115+ move_to_focused_tab true
116+ }
117+ SwitchToMode "normal"
118+ }
119+ bind "c" {
120+ LaunchOrFocusPlugin "configuration" {
121+ floating true
122+ move_to_focused_tab true
123+ }
124+ SwitchToMode "normal"
125+ }
126+ bind "f" { ToggleHostFullscreen; SwitchToMode "normal"; }
127+ bind "l" {
128+ LaunchOrFocusPlugin "zellij:layout-manager" {
129+ floating true
130+ move_to_focused_tab true
131+ }
132+ SwitchToMode "normal"
133+ }
134+ bind "Ctrl o" { SwitchToMode "normal"; }
135+ bind "p" {
136+ LaunchOrFocusPlugin "plugin-manager" {
137+ floating true
138+ move_to_focused_tab true
139+ }
140+ SwitchToMode "normal"
141+ }
142+ bind "s" {
143+ LaunchOrFocusPlugin "zellij:share" {
144+ floating true
145+ move_to_focused_tab true
146+ }
147+ SwitchToMode "normal"
148+ }
149+ bind "w" {
150+ LaunchOrFocusPlugin "session-manager" {
151+ floating true
152+ move_to_focused_tab true
153+ }
154+ SwitchToMode "normal"
155+ }
156+ }
157+ shared_except "locked" {
158+ bind "Alt +" { Resize "Increase"; }
159+ bind "Alt -" { Resize "Decrease"; }
160+ bind "Alt =" { Resize "Increase"; }
161+ bind "Alt [" { PreviousSwapLayout; }
162+ bind "Alt ]" { NextSwapLayout; }
163+ bind "Alt f" { ToggleFloatingPanes; }
164+ bind "Ctrl g" { SwitchToMode "locked"; }
165+ bind "Alt i" { MoveTab "left"; }
166+ bind "Alt n" { NewPane; }
167+ bind "Alt o" { MoveTab "right"; }
168+ bind "Alt p" { TogglePaneInGroup; }
169+ bind "Alt Shift p" { ToggleGroupMarking; }
170+ bind "Ctrl q" { Quit; }
171+ }
172+ shared_except "locked" "move" {
173+ bind "Ctrl h" { SwitchToMode "move"; }
174+ }
175+ shared_except "locked" "session" {
176+ bind "Ctrl o" { SwitchToMode "session"; }
177+ }
178+ shared_except "locked" "scroll" {
179+ bind "Alt left" { MoveFocusOrTab "left"; }
180+ bind "Alt down" { MoveFocus "down"; }
181+ bind "Alt up" { MoveFocus "up"; }
182+ bind "Alt right" { MoveFocusOrTab "right"; }
183+ bind "Alt h" { MoveFocusOrTab "left"; }
184+ bind "Alt j" { MoveFocus "down"; }
185+ bind "Alt k" { MoveFocus "up"; }
186+ bind "Alt l" { MoveFocusOrTab "right"; }
187+ }
188+ shared_except "locked" "scroll" "search" "tmux" {
189+ bind "Ctrl b" { SwitchToMode "tmux"; }
190+ }
191+ shared_except "locked" "scroll" "search" {
192+ bind "Ctrl s" { SwitchToMode "scroll"; }
193+ }
194+ shared_except "locked" "tab" {
195+ bind "Ctrl t" { SwitchToMode "tab"; }
196+ }
197+ shared_except "locked" "pane" {
198+ bind "Ctrl p" { SwitchToMode "pane"; }
199+ }
200+ shared_except "locked" "resize" {
201+ bind "Ctrl n" { SwitchToMode "resize"; }
202+ }
203+ shared_except "normal" "locked" "entersearch" {
204+ bind "enter" { SwitchToMode "normal"; }
205+ }
206+ shared_except "normal" "locked" "entersearch" "renametab" "renamepane" {
207+ bind "esc" { SwitchToMode "normal"; }
208+ }
209+ shared_among "pane" "tmux" {
210+ bind "x" { CloseFocus; SwitchToMode "normal"; }
211+ }
212+ shared_among "scroll" "search" {
213+ bind "PageDown" { PageScrollDown; }
214+ bind "PageUp" { PageScrollUp; }
215+ bind "left" { PageScrollUp; }
216+ bind "down" { ScrollDown; }
217+ bind "up" { ScrollUp; }
218+ bind "right" { PageScrollDown; }
219+ bind "[" { ScrollToPreviousPrompt; }
220+ bind "]" { ScrollToNextPrompt; }
221+ bind "Ctrl b" { PageScrollUp; }
222+ bind "Ctrl c" { ScrollToBottom; SwitchToMode "normal"; }
223+ bind "d" { HalfPageScrollDown; }
224+ bind "Ctrl f" { PageScrollDown; }
225+ bind "h" { PageScrollUp; }
226+ bind "j" { ScrollDown; }
227+ bind "k" { ScrollUp; }
228+ bind "l" { PageScrollDown; }
229+ bind "m" { SelectCommandAtScrollPosition; }
230+ bind "Ctrl s" { SwitchToMode "normal"; }
231+ bind "u" { HalfPageScrollUp; }
232+ }
233+ entersearch {
234+ bind "Ctrl c" { SwitchToMode "scroll"; }
235+ bind "esc" { SwitchToMode "scroll"; }
236+ bind "enter" { SwitchToMode "search"; }
237+ }
238+ renametab {
239+ bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
240+ }
241+ shared_among "renametab" "renamepane" {
242+ bind "Ctrl c" { SwitchToMode "normal"; }
243+ }
244+ renamepane {
245+ bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
246+ }
247+ shared_among "session" "tmux" {
248+ bind "d" { Detach; }
249+ }
250+ tmux {
251+ bind "left" { MoveFocus "left"; SwitchToMode "normal"; }
252+ bind "down" { MoveFocus "down"; SwitchToMode "normal"; }
253+ bind "up" { MoveFocus "up"; SwitchToMode "normal"; }
254+ bind "right" { MoveFocus "right"; SwitchToMode "normal"; }
255+ bind "space" { NextSwapLayout; }
256+ bind "\"" { NewPane "down"; SwitchToMode "normal"; }
257+ bind "%" { NewPane "right"; SwitchToMode "normal"; }
258+ bind "," { SwitchToMode "renametab"; }
259+ bind "[" { SwitchToMode "scroll"; }
260+ bind "Ctrl b" { Write 2; SwitchToMode "normal"; }
261+ bind "c" { NewTab; SwitchToMode "normal"; }
262+ bind "h" { MoveFocus "left"; SwitchToMode "normal"; }
263+ bind "j" { MoveFocus "down"; SwitchToMode "normal"; }
264+ bind "k" { MoveFocus "up"; SwitchToMode "normal"; }
265+ bind "l" { MoveFocus "right"; SwitchToMode "normal"; }
266+ bind "n" { GoToNextTab; SwitchToMode "normal"; }
267+ bind "o" { FocusNextPane; }
268+ bind "p" { GoToPreviousTab; SwitchToMode "normal"; }
269+ bind "z" { ToggleFocusFullscreen; SwitchToMode "normal"; }
270+ }
271+}
272+
273+// Plugin aliases - can be used to change the implementation of Zellij
274+// changing these requires a restart to take effect
275+plugins {
276+ about location="zellij:about"
277+ compact-bar location="zellij:compact-bar"
278+ configuration location="zellij:configuration"
279+ filepicker location="zellij:strider" {
280+ cwd "/"
281+ }
282+ plugin-manager location="zellij:plugin-manager"
283+ session-manager location="zellij:session-manager"
284+ status-bar location="zellij:status-bar"
285+ strider location="zellij:strider"
286+ tab-bar location="zellij:tab-bar"
287+ welcome-screen location="zellij:session-manager" {
288+ welcome_screen true
289+ }
290+}
291+
292+// Plugins to load in the background when a new session starts
293+// eg. "file:/path/to/my-plugin.wasm"
294+// eg. "https://example.com/my-plugin.wasm"
295+load_plugins {
296+ zellij:link
297+}
298+web_client {
299+ font "monospace"
300+}
301+
302+// Use a simplified UI without special fonts (arrow glyphs)
303+// Options:
304+// - true
305+// - false (Default)
306+//
307+// simplified_ui true
308+
309+// Enable OSC8 hyperlink output
310+// Options:
311+// - true (Default)
312+// - false
313+//
314+// osc8_hyperlinks true
315+
316+// Choose the theme that is specified in the themes section.
317+// Default: default
318+//
319+theme "{{ nvim.theme }}"
320+
321+// Theme to use when the host terminal reports a dark color palette.
322+// Requires `theme_light` to also be set; otherwise `theme` is used.
323+//
324+// theme_dark "dracula"
325+
326+// Theme to use when the host terminal reports a light color palette.
327+// Requires `theme_dark` to also be set; otherwise `theme` is used.
328+//
329+// theme_light "solarized-light"
330+
331+// Pin the session to a dark or light appearance, ignoring what the
332+// host terminal reports. When unset, the host terminal decides.
333+// Options: dark, light
334+//
335+// explicit_theme_hue "dark"
336+
337+// Choose the base input mode of zellij.
338+// Default: normal
339+//
340+default_mode "normal"
341+
342+// Choose the path to the default shell that zellij will use for opening new panes
343+// Default: $SHELL
344+//
345+// default_shell "fish"
346+
347+// Choose the path to override cwd that zellij will use for opening new panes
348+//
349+// default_cwd "/tmp"
350+
351+// The name of the default layout to load on startup
352+// Default: "default"
353+//
354+// default_layout "compact"
355+
356+// The folder in which Zellij will look for layouts
357+// (Requires restart)
358+//
359+// layout_dir "/tmp"
360+
361+// The folder in which Zellij will look for themes
362+// (Requires restart)
363+//
364+// theme_dir "/tmp"
365+
366+// Toggle enabling the mouse mode.
367+// On certain configurations, or terminals this could
368+// potentially interfere with copying text.
369+// Options:
370+// - true (default)
371+// - false
372+//
373+// mouse_mode false
374+
375+// Toggle having pane frames around the panes
376+// Options:
377+// - true (default, enabled)
378+// - false
379+//
380+// pane_frames false
381+
382+// Set the pane frame style when pane_frames is enabled
383+// Options:
384+// - full
385+// - titles (default)
386+//
387+// pane_frame_style "titles"
388+
389+// When attaching to an existing session with other users,
390+// should the session be mirrored (true)
391+// or should each user have their own cursor (false)
392+// (Requires restart)
393+// Default: false
394+//
395+// mirror_session true
396+
397+// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
398+// eg. when terminal window with an active zellij session is closed
399+// (Requires restart)
400+// Options:
401+// - detach (Default)
402+// - quit
403+//
404+// on_force_close "quit"
405+
406+// Configure the scroll back buffer size
407+// This is the number of lines zellij stores for each pane in the scroll back
408+// buffer. Excess number of lines are discarded in a FIFO fashion.
409+// (Requires restart)
410+// Valid values: positive integers
411+// Default value: 10000
412+//
413+// scroll_buffer_size 10000
414+
415+// Provide a command to execute when copying text. The text will be piped to
416+// the stdin of the program to perform the copy. This can be used with
417+// terminal emulators which do not support the OSC 52 ANSI control sequence
418+// that will be used by default if this option is not set.
419+// Examples:
420+//
421+// copy_command "xclip -selection clipboard" // x11
422+// copy_command "wl-copy" // wayland
423+// copy_command "pbcopy" // osx
424+//
425+// copy_command "pbcopy"
426+
427+// Choose the destination for copied text
428+// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
429+// Does not apply when using copy_command.
430+// Options:
431+// - system (default)
432+// - primary
433+//
434+// copy_clipboard "primary"
435+
436+// Enable automatic copying (and clearing) of selection when releasing mouse
437+// Default: true
438+//
439+// copy_on_select true
440+
441+// Path to the default editor to use to edit pane scrollbuffer
442+// Default: $EDITOR or $VISUAL
443+// scrollback_editor "/usr/bin/vim"
444+
445+// A fixed name to always give the Zellij session.
446+// Consider also setting `attach_to_session true,`
447+// otherwise this will error if such a session exists.
448+// Default: <RANDOM>
449+//
450+// session_name "My singleton session"
451+
452+// When `session_name` is provided, attaches to that session
453+// if it is already running or creates it otherwise.
454+// Default: false
455+//
456+// attach_to_session true
457+
458+// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
459+// Options:
460+// - true (default)
461+// - false
462+//
463+// auto_layout false
464+
465+// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
466+// Options:
467+// - true (default)
468+// - false
469+//
470+// session_serialization false
471+
472+// Whether pane viewports are serialized along with the session, default is false
473+// Options:
474+// - true
475+// - false (default)
476+//
477+// serialize_pane_viewport false
478+
479+// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
480+// defaults to the scrollback size. If this number is higher than the scrollback size, it will
481+// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
482+//
483+// scrollback_lines_to_serialize 10000
484+
485+// Enable or disable the rendering of styled and colored underlines (undercurl).
486+// May need to be disabled for certain unsupported terminals
487+// (Requires restart)
488+// Default: true
489+//
490+// styled_underlines false
491+
492+// How often in seconds sessions are serialized
493+//
494+// serialization_interval 10000
495+
496+// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
497+// metadata info on this session)
498+// (Requires restart)
499+// Default: false
500+//
501+// disable_session_metadata false
502+
503+// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
504+// (Requires restart)
505+// Default: true (if the host terminal supports it)
506+//
507+// support_kitty_keyboard_protocol false
508+
509+// Enable or disable support for the Kitty Graphics Protocol, used to display images (the host terminal must also support it)
510+// (Requires restart)
511+// Default: true (if the host terminal supports it)
512+//
513+// support_kitty_graphics_protocol false
514+// Whether to make sure a local web server is running when a new Zellij session starts.
515+// This web server will allow creating new sessions and attaching to existing ones that have
516+// opted in to being shared in the browser.
517+// When enabled, navigate to http://127.0.0.1:8082
518+// (Requires restart)
519+//
520+// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
521+// If this is not desired, one can use a version of Zellij compiled without
522+// `web_server_capability`
523+//
524+// Possible values:
525+// - true
526+// - false
527+// Default: false
528+//
529+// web_server false
530+// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
531+// running (see the `web_server` option for more details).
532+// (Requires restart)
533+//
534+// Note: This is an administrative separation and not intended as a security measure.
535+//
536+// Possible values:
537+// - "on" (allow web sharing through the local web server if it
538+// is online)
539+// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
540+// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
541+// Default: "off"
542+//
543+// web_sharing "off"
544+// A path to a certificate file to be used when setting up the web client to serve the
545+// connection over HTTPs
546+//
547+// web_server_cert "/path/to/cert.pem"
548+// A path to a key file to be used when setting up the web client to serve the
549+// connection over HTTPs
550+//
551+// web_server_key "/path/to/key.pem"
552+/// Whether to enforce https connections to the web server when it is bound to localhost
553+/// (127.0.0.0/8)
554+///
555+/// Note: https is ALWAYS enforced when bound to non-local interfaces
556+///
557+/// Default: false
558+//
559+// enforce_https_for_localhost false
560+
561+// Whether to stack panes when resizing beyond a certain size
562+// Default: true
563+//
564+// stacked_resize false
565+
566+// Whether stacked panes display as a list with the expanded pane pinned to the bottom
567+// Default: true
568+//
569+// stacked_pane_list false
570+
571+// Whether to show tips on startup
572+// Default: true
573+//
574+show_startup_tips false
575+
576+// Whether to show release notes on first version run
577+// Default: true
578+//
579+// show_release_notes false
580+
581+// Whether to enable mouse hover effects and pane grouping functionality
582+// default is true
583+// advanced_mouse_actions false
584+
585+// Whether Ctrl+ScrollWheel resizes panes
586+// default is true
587+// mouse_scroll_resize false
588+
589+// Whether scrolling a pane implicitly enters and exits Scroll mode
590+// default is true
591+// scroll_mode_sync false
592+
593+// Whether to enable mouse hover visual effects (frame highlight and help text)
594+// default is true
595+// mouse_hover_effects false
596+
597+// Whether to show mouse hover help-text tips (resize help and group shortcuts)
598+// default is true
599+// mouse_hover_tips false
600+
601+// Whether to show visual bell indicators (pane/tab frame flash and [!] suffix)
602+// default is true
603+// visual_bell true
604+
605+// Whether to focus panes on mouse hover
606+// default is false
607+// focus_follows_mouse false
608+
609+// Whether clicking a pane to focus it also sends the click into the pane
610+// default is false
611+// mouse_click_through false
612+
613+// Whether triple-clicking inside command output marked by the shell (OSC 133) selects
614+// the command and its output instead of the logical line
615+// default is true
616+// osc133_command_selection false
617+
618+// Characters that terminate a word when double-clicking to select it
619+// whitespace is always a separator and need not be listed here
620+// default is "[]{}<>()"
621+// word_separators "[]{}<>()"
622+
623+// The ip address the web server should listen on when it starts
624+// Default: "127.0.0.1"
625+// (Requires restart)
626+// web_server_ip "127.0.0.1"
627+
628+// The port the web server should listen on when it starts
629+// Default: 8082
630+// (Requires restart)
631+// web_server_port 8082
632+
633+// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
634+// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
635+// of this command will be used instead of the discovered RESURRECT_COMMAND
636+// can be useful for removing wrappers around commands
637+// Note: be sure to escape backslashes and similar characters properly
638+// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
639+
640+// Number of async worker tasks to spawn per active client.
641+//
642+// Allocating few tasks may result in resource contention and lags. Small values (around 4) should
643+// typically work best. Set to 0 to use the number of (physical) CPU cores.
644+// Note: This only applies to web clients at the moment.
645+// client_async_worker_tasks 4
646+
647+// Whether to let programs running inside panes read the paste buffer
648+// (clipboard) with the OSC 52 escape sequence. When enabled, any program
649+// in any pane - including one running on a remote machine over SSH - can
650+// read the clipboard without the user being asked.
651+// Default: false
652+// dangerously_enable_paste_buffer_read false
653+
654+// How to handle a nested Zellij session detected inside a pane.
655+// Options:
656+// - "ask" (Default — prompt with a modal)
657+// - "fullscreen" (always zoom into the nested session)
658+// - "descend" (always control the nested session on focus)
659+// - "never" (never prompt or descend; do it manually)
660+//
661+// nested_session_handling "ask"
662+
663+// Which escape sequence desktop notifications coming from panes are
664+// forwarded to the host terminal with.
665+// Options:
666+// - "auto" (Default — detect from the host terminal environment)
667+// - "osc9" (the legacy iTerm2 protocol, understood by most terminals)
668+// - "osc99" (kitty's notification protocol)
669+// - "bell" (ring the terminal bell instead)
670+// - "off" (do not forward notifications to the host terminal)
671+//
672+// host_notification_protocol "auto"
tmpl/.config/zellij/themes/kanagawa-dragon.kdl+124−0
@@ -0,0 +1,124 @@
1+// Kanagawa "dragon" variant for Zellij.
2+// Palette from kanagawa.nvim (lua/kanagawa/colors.lua, dragon* entries).
3+// Used via: theme_dir "/home/sean/.config/zellij/themes" + theme "kanagawa-dragon"
4+themes {
5+ kanagawa-dragon {
6+ text_unselected {
7+ base 197 201 197
8+ background 24 22 22
9+ emphasis_0 182 146 123
10+ emphasis_1 139 164 176
11+ emphasis_2 138 154 123
12+ emphasis_3 137 146 167
13+ }
14+ text_selected {
15+ base 24 22 22
16+ background 138 154 123
17+ emphasis_0 182 146 123
18+ emphasis_1 139 164 176
19+ emphasis_2 138 154 123
20+ emphasis_3 137 146 167
21+ }
22+ ribbon_selected {
23+ base 24 22 22
24+ background 138 154 123
25+ emphasis_0 196 116 110
26+ emphasis_1 182 146 123
27+ emphasis_2 137 146 167
28+ emphasis_3 101 133 148
29+ }
30+ ribbon_unselected {
31+ base 24 22 22
32+ background 197 201 197
33+ emphasis_0 196 116 110
34+ emphasis_1 197 201 197
35+ emphasis_2 101 133 148
36+ emphasis_3 137 146 167
37+ }
38+ table_title {
39+ base 138 154 123
40+ background 13 12 12
41+ emphasis_0 182 146 123
42+ emphasis_1 139 164 176
43+ emphasis_2 138 154 123
44+ emphasis_3 137 146 167
45+ }
46+ table_cell_selected {
47+ base 24 22 22
48+ background 138 154 123
49+ emphasis_0 182 146 123
50+ emphasis_1 139 164 176
51+ emphasis_2 138 154 123
52+ emphasis_3 137 146 167
53+ }
54+ table_cell_unselected {
55+ base 197 201 197
56+ background 24 22 22
57+ emphasis_0 182 146 123
58+ emphasis_1 139 164 176
59+ emphasis_2 138 154 123
60+ emphasis_3 137 146 167
61+ }
62+ list_selected {
63+ base 24 22 22
64+ background 138 154 123
65+ emphasis_0 182 146 123
66+ emphasis_1 139 164 176
67+ emphasis_2 138 154 123
68+ emphasis_3 137 146 167
69+ }
70+ list_unselected {
71+ base 197 201 197
72+ background 24 22 22
73+ emphasis_0 182 146 123
74+ emphasis_1 139 164 176
75+ emphasis_2 138 154 123
76+ emphasis_3 137 146 167
77+ }
78+ frame_selected {
79+ base 138 154 123
80+ background 13 12 12
81+ emphasis_0 182 146 123
82+ emphasis_1 139 164 176
83+ emphasis_2 137 146 167
84+ emphasis_3 13 12 12
85+ }
86+ frame_highlight {
87+ base 196 116 110
88+ background 13 12 12
89+ emphasis_0 137 146 167
90+ emphasis_1 196 116 110
91+ emphasis_2 196 116 110
92+ emphasis_3 196 116 110
93+ }
94+ exit_code_success {
95+ base 138 154 123
96+ background 13 12 12
97+ emphasis_0 182 146 123
98+ emphasis_1 139 164 176
99+ emphasis_2 138 154 123
100+ emphasis_3 137 146 167
101+ }
102+ exit_code_error {
103+ base 196 116 110
104+ background 13 12 12
105+ emphasis_0 182 146 123
106+ emphasis_1 139 164 176
107+ emphasis_2 138 154 123
108+ emphasis_3 137 146 167
109+ }
110+ multiplayer_user_colors {
111+ player_0 196 116 110
112+ player_1 138 154 123
113+ player_2 196 178 138
114+ player_3 139 164 176
115+ player_4 162 146 163
116+ player_5 142 164 162
117+ player_6 166 166 156
118+ player_7 185 141 123
119+ player_8 137 146 167
120+ player_9 127 180 202
121+ player_10 228 104 118
122+ }
123+ }
124+}