Skip to content

Commit 42e56ba

Browse files
committed
feat(zellij): update config with VS Code Dark+ theme and plugins
- Lean config (~50 lines) with native keybinds - VS Code Dark+ theme colors - Session persistence enabled - Plugins: zellij-forgot (Ctrl+y), room (Ctrl+Space) - Built-in status bar (zjstatus incompatible with 0.41.1)
1 parent 5df1629 commit 42e56ba

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

install.conf.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080
path: vscode/macos/*.json
8181
force: true
8282

83+
~/.config/zellij:
84+
path: zellij
85+
8386
~/Library/Application Support/com.colliderli.iina/input_conf/YouTube.conf:
8487
if: '[ `uname` = Darwin ]'
8588
path: iina/YouTube.conf

zellij/config.kdl

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// Zellij Configuration
2+
// Uses native keybinds (Ctrl+p pane, Ctrl+t tab, Ctrl+n resize, Ctrl+s scroll, Ctrl+o session)
3+
4+
// Appearance
5+
pane_frames false
6+
theme "vscode-dark"
7+
8+
// Session persistence
9+
session_serialization true
10+
serialize_pane_viewport true
11+
12+
// Behavior
13+
default_mode "normal"
14+
mouse_mode true
15+
copy_on_select true
16+
scrollback_editor "nvim"
17+
18+
// Theme: VS Code Dark+
19+
themes {
20+
vscode-dark {
21+
fg "#d4d4d4"
22+
bg "#1e1e1e"
23+
black "#000000"
24+
red "#f44747"
25+
green "#6a9955"
26+
yellow "#dcdcaa"
27+
blue "#569cd6"
28+
magenta "#c586c0"
29+
cyan "#4ec9b0"
30+
white "#e5e5e5"
31+
orange "#ce9178"
32+
}
33+
}
34+
35+
// Keybind additions (extend defaults, don't replace)
36+
keybinds {
37+
// Launch zellij-forgot with Ctrl+y for keybind hints
38+
shared_except "locked" {
39+
bind "Ctrl y" {
40+
LaunchOrFocusPlugin "https://github.com/karimould/zellij-forgot/releases/latest/download/zellij_forgot.wasm" {
41+
floating true
42+
"LOAD_ZELLIJ_BINDINGS" "true"
43+
}
44+
}
45+
}
46+
// Launch room with Ctrl+Space for tab switching
47+
shared_except "locked" {
48+
bind "Ctrl Space" {
49+
LaunchOrFocusPlugin "https://github.com/rvcas/room/releases/latest/download/room.wasm" {
50+
floating true
51+
ignore_case true
52+
quick_jump true
53+
}
54+
}
55+
}
56+
}

zellij/layouts/default.kdl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
layout {
2+
default_tab_template {
3+
pane size=1 borderless=true {
4+
plugin location="zellij:tab-bar"
5+
}
6+
children
7+
pane size=2 borderless=true {
8+
plugin location="zellij:status-bar"
9+
}
10+
}
11+
12+
tab name="main" focus=true {
13+
pane
14+
}
15+
}

0 commit comments

Comments
 (0)