Files
2025-11-30 09:02:31 +08:00

49 lines
1.0 KiB
Plaintext

# Basic Zellij Configuration Template
# Copy this to ~/.config/zellij/config.kdl and customize as needed
# UI Settings
ui {
pane_frames {
rounded_corners true
}
}
# Mouse Settings
mouse_mode true
copy_on_select false
# Theme
theme "default"
# Session Management
session_serialization true
pane_viewport_serialization false
default_layout "default"
default_mode "normal"
# Keybindings - Basic Setup
keybinds {
normal {
bind "Ctrl g" { SwitchToMode "locked"; }
bind "Ctrl p" { SwitchToMode "pane"; }
bind "Alt n" { NewPane; }
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
bind "Ctrl Shift t" { NewTab; }
}
pane {
bind "h" "Left" { MoveFocus "Left"; }
bind "l" "Right" { MoveFocus "Right"; }
bind "j" "Down" { MoveFocus "Down"; }
bind "k" "Up" { MoveFocus "Up"; }
bind "p" { SwitchFocus; }
bind "Ctrl c" { CopySelection; }
}
locked {
bind "Ctrl g" { SwitchToMode "normal"; }
}
}
# Environment Variables
env {
EDITOR "nvim"
}