feat: initial commit

This commit is contained in:
johannes committed 2026-07-26 11:42:17 +02:00
commit b802ff49ab
454 files changed
+52429

No files matched your search

+133
View File
@@ -0,0 +1,133 @@
// === THEME AND UI ===
theme "catppuccin-mocha"
theme_dark "catppuccin-mocha"
theme_light "catppuccin-latte"
// === KEYBINDINGS ===
keybinds {
shared_except "locked" {
// zellij-forgot (keybind cheat sheet / notes)
bind "Ctrl Shift f" {
LaunchOrFocusPlugin "zellij-forgot" {
floating true
move_to_focused_tab true
"LOAD_ZELLIJ_BINDINGS" "true"
}
}
// session-manager (active sessions / create sessions)
bind "Ctrl Shift s" {
LaunchOrFocusPlugin "session-manager" {
floating true
move_to_focused_tab true
}
SwitchToMode "normal"
}
// zsm (zoxide project sessions)
bind "Ctrl Shift p" {
LaunchOrFocusPlugin "zsm" {
floating true
move_to_focused_tab true
default_layout "dev"
show_resurrectable_sessions true
base_paths "/home/johannes/Repos|/Users/johannes/Repos|/home/johannes|/Users/johannes"
}
SwitchToMode "normal"
}
// Scratchpad floating pane
bind "Alt t" { ToggleFloatingPanes; }
// Vim Navigation
bind "Ctrl h" {
MessagePlugin "navigator" {
name "move_focus_or_tab";
payload "left";
move_mod "ctrl";
};
}
bind "Ctrl j" {
MessagePlugin "navigator" {
name "move_focus_or_tab";
payload "down";
move_mod "ctrl";
};
}
bind "Ctrl k" {
MessagePlugin "navigator" {
name "move_focus_or_tab";
payload "up";
move_mod "ctrl";
};
}
bind "Ctrl l" {
MessagePlugin "navigator" {
name "move_focus_or_tab";
payload "right";
move_mod "ctrl";
};
}
// Floating Apps
bind "Alt g" {
Run "bash" {
args "-lc" "if command -v lazygit >/dev/null 2>&1; then exec lazygit; else printf 'Missing tool: lazygit\nInstall lazygit, then retry.\n\nPress Enter to close...'; read -r _; fi"
floating true
close_on_exit true
};
}
bind "Alt m" {
Run "bash" {
args "-lc" "if command -v btop >/dev/null 2>&1; then exec btop; else printf 'Missing tool: btop\nInstall btop, then retry.\n\nPress Enter to close...'; read -r _; fi"
floating true
close_on_exit true
};
}
bind "Alt y" {
Run "bash" {
args "-lc" "if command -v yazi >/dev/null 2>&1; then exec yazi; else printf 'Missing tool: yazi\nInstall yazi, then retry.\n\nPress Enter to close...'; read -r _; fi"
floating true
close_on_exit true
};
}
// Tab Management
bind "Alt H" { MoveTab "Left"; }
bind "Alt L" { MoveTab "Right"; }
// Additional enhancements
bind "Alt f" { ToggleFocusFullscreen; }
bind "Alt w" { ToggleTab; }
// Fast Tab Renaming
bind "Alt r" {
SwitchToMode "RenameTab";
TabNameInput 0;
}
}
}
// === COPY/PASTE BEHAVIOR ===
copy_on_select true
// === SESSION BEHAVIOR ===
show_startup_tips false
session_serialization true
pane_viewport_serialization true
pane_frames false
plugins {
session-manager location="zellij:session-manager"
zjstatus location="https://github.com/dj95/zjstatus/releases/download/v0.23.0/zjstatus.wasm"
zellij-forgot location="https://github.com/karimould/zellij-forgot/releases/download/0.4.2/zellij_forgot.wasm" {
"LOAD_ZELLIJ_BINDINGS" "true"
}
navigator location="https://github.com/hiasr/vim-zellij-navigator/releases/download/0.3.0/vim-zellij-navigator.wasm"
zsm location="https://github.com/liam-mackie/zsm/releases/download/v0.4.1/zsm.wasm"
}
// === LAYOUT SETTINGS ===
default_layout "tabs"
// === EDITOR INTEGRATION ===
scrollback_editor "nvim +$"
+80
View File
@@ -0,0 +1,80 @@
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zjstatus" {
color_rosewater "#f5e0dc"
color_flamingo "#f2cdcd"
color_pink "#f5c2e7"
color_mauve "#cba6f7"
color_red "#f38ba8"
color_maroon "#eba0ac"
color_peach "#fab387"
color_yellow "#f9e2af"
color_green "#a6e3a1"
color_teal "#94e2d5"
color_sky "#89dceb"
color_sapphire "#74c7ec"
color_blue "#89b4fa"
color_lavender "#b4befe"
color_text "#cdd6f4"
color_subtext1 "#bac2de"
color_subtext0 "#a6adc8"
color_overlay2 "#9399b2"
color_overlay1 "#7f849c"
color_overlay0 "#6c7086"
color_surface2 "#585b70"
color_surface1 "#45475a"
color_surface0 "#313244"
color_base "#1e1e2e"
color_mantle "#181825"
color_crust "#11111b"
format_left "{mode} #[fg=$overlay0,bold]{session}"
format_center "{tabs}"
format_right "#[fg=$overlay0,bold] {datetime}"
format_space ""
border_enabled "false"
border_char "─"
border_format "#[fg=$overlay0]{char}"
border_position "top"
mode_normal "#[fg=$green]█"
mode_locked "#[fg=$red]█"
mode_resize "#[fg=$yellow]█"
mode_pane "#[fg=$blue]█"
mode_tab "#[fg=$yellow]█"
mode_scroll "#[fg=$pink]█"
mode_enter_search "#[fg=$blue]█"
mode_search "#[fg=$blue]█"
mode_rename_tab "#[fg=$blue]█"
mode_rename_pane "#[fg=$blue]█"
mode_session "#[fg=$blue]█"
mode_move "#[fg=$blue]█"
mode_prompt "#[fg=$blue]█"
mode_tmux "#[fg=$pink]█"
tab_normal "#[fg=$overlay0] {index}:{name} "
tab_active "#[fg=$blue,bold]#[bg=$blue,fg=$base,bold]{index}:{name}#[fg=$blue,bold]"
tab_sync_indicator "<> "
tab_fullscreen_indicator "[] "
tab_floating_indicator "⬚ "
tab_separator " "
datetime "{format} "
datetime_format "%H:%M"
datetime_timezone "Europe/Berlin"
}
}
children
}
tab name="code" {
pane split_direction="horizontal" {
pane command="nvim" size="75%"
pane size="25%"
}
}
}
+77
View File
@@ -0,0 +1,77 @@
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zjstatus" {
// Catppuccin Mocha Palette
color_rosewater "#f5e0dc"
color_flamingo "#f2cdcd"
color_pink "#f5c2e7"
color_mauve "#cba6f7"
color_red "#f38ba8"
color_maroon "#eba0ac"
color_peach "#fab387"
color_yellow "#f9e2af"
color_green "#a6e3a1"
color_teal "#94e2d5"
color_sky "#89dceb"
color_sapphire "#74c7ec"
color_blue "#89b4fa"
color_lavender "#b4befe"
color_text "#cdd6f4"
color_subtext1 "#bac2de"
color_subtext0 "#a6adc8"
color_overlay2 "#9399b2"
color_overlay1 "#7f849c"
color_overlay0 "#6c7086"
color_surface2 "#585b70"
color_surface1 "#45475a"
color_surface0 "#313244"
color_base "#1e1e2e"
color_mantle "#181825"
color_crust "#11111b"
format_left "{mode} #[fg=$overlay0,bold]{session}"
format_center "{tabs}"
format_right "#[fg=$overlay0,bold] {datetime}"
format_space ""
border_enabled "false"
border_char "─"
border_format "#[fg=$overlay0]{char}"
border_position "top"
mode_normal "#[fg=$green]█"
mode_locked "#[fg=$red]█"
mode_resize "#[fg=$yellow]█"
mode_pane "#[fg=$blue]█"
mode_tab "#[fg=$yellow]█"
mode_scroll "#[fg=$pink]█"
mode_enter_search "#[fg=$blue]█"
mode_search "#[fg=$blue]█"
mode_rename_tab "#[fg=$blue]█"
mode_rename_pane "#[fg=$blue]█"
mode_session "#[fg=$blue]█"
mode_move "#[fg=$blue]█"
mode_prompt "#[fg=$blue]█"
mode_tmux "#[fg=$pink]█"
// Rounded Tabs Configuration
tab_normal "#[fg=$overlay0] {index}:{name} "
tab_active "#[fg=$blue,bold]#[bg=$blue,fg=$base,bold]{index}:{name}#[fg=$blue,bold]"
// Identifiers
tab_sync_indicator "<> "
tab_fullscreen_indicator "[] "
tab_floating_indicator "⬚ "
// Separator between tabs
tab_separator " "
datetime "{format} "
datetime_format "%H:%M"
datetime_timezone "Europe/Berlin"
}
}
children
}
}