aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:38 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:38 +0100
commitbc2edabb376d62c50445e4eda25f872db3ea9814 (patch)
tree16ebce00eddc1ba84286e8c5aa294ae4c677d584 /home
parent087b393f1a1d787b88c3fcab7e400f70c6be2c50 (diff)
downloaddotfiles-bc2edabb376d62c50445e4eda25f872db3ea9814.tar.gz
dotfiles-bc2edabb376d62c50445e4eda25f872db3ea9814.tar.bz2
dotfiles-bc2edabb376d62c50445e4eda25f872db3ea9814.zip
feat: add zellij config with gruvbox-dark theme
Migrate from tmux to zellij. Most tmux plugin features are zellij built-ins: session resurrection, mouse mode, clipboard integration, pane/tab management, session manager, and search. - gruvbox-dark theme (built-in, replaces tmux-gruvbox plugin) - serialize_pane_viewport for full session resurrection - copy_on_select with wl-copy for Wayland clipboard - 50k line scrollback buffer - attach_to_session for auto-reattach
Diffstat (limited to 'home')
-rw-r--r--home/.config/zellij/config.kdl22
1 files changed, 22 insertions, 0 deletions
diff --git a/home/.config/zellij/config.kdl b/home/.config/zellij/config.kdl
new file mode 100644
index 0000000..3d7f976
--- /dev/null
+++ b/home/.config/zellij/config.kdl
@@ -0,0 +1,22 @@
+// Zellij configuration
+// See: https://zellij.dev/documentation/options
+
+// Gruvbox dark theme (built-in)
+theme "gruvbox-dark"
+
+// Session resurrection: serialize layout, panes, and running commands to disk.
+// Exited sessions can be listed and resurrected from the session-manager.
+// session_serialization is already true by default, but we also want viewport.
+serialize_pane_viewport true
+
+// Scrollback: open in $EDITOR with Ctrl-s → e
+scroll_buffer_size 50000
+
+// Clipboard: copy to system clipboard on selection
+copy_on_select true
+
+// Use wl-copy for Wayland clipboard (fallback from OSC 52)
+copy_command "wl-copy"
+
+// Auto-attach to existing session with the same name instead of erroring
+attach_to_session true