aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-08-05 08:56:42 +0200
committerAram Drevekenin <aram@poor.dev>2025-08-05 08:56:42 +0200
commit23bb542548d517f7f20a7fdd14a943f1a610df37 (patch)
tree84915636d41f67540f78ede498ccea6d2de8ab0a /example
parentstyle: link and help fixes (#4339) (diff)
downloadsl0ppij-23bb542548d517f7f20a7fdd14a943f1a610df37.tar.gz
sl0ppij-23bb542548d517f7f20a7fdd14a943f1a610df37.tar.xz
sl0ppij-23bb542548d517f7f20a7fdd14a943f1a610df37.zip
chore(release): v0.43.0
Diffstat (limited to 'example')
-rw-r--r--example/default.kdl84
1 files changed, 82 insertions, 2 deletions
diff --git a/example/default.kdl b/example/default.kdl
index 983d6b66..017e3407 100644
--- a/example/default.kdl
+++ b/example/default.kdl
@@ -30,6 +30,7 @@ keybinds {
bind "n" { NewPane; SwitchToMode "Normal"; }
bind "d" { NewPane "Down"; SwitchToMode "Normal"; }
bind "r" { NewPane "Right"; SwitchToMode "Normal"; }
+ bind "s" { NewPane "stacked"; SwitchToMode "Normal"; }
bind "x" { CloseFocus; SwitchToMode "Normal"; }
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
@@ -188,6 +189,8 @@ keybinds {
bind "Alt -" { Resize "Decrease"; }
bind "Alt [" { PreviousSwapLayout; }
bind "Alt ]" { NextSwapLayout; }
+ bind "Alt p" { TogglePaneInGroup; }
+ bind "Alt Shift p" { ToggleGroupMarking; }
}
shared_except "normal" "locked" {
bind "Enter" "Esc" { SwitchToMode "Normal"; }
@@ -424,6 +427,70 @@ load_plugins {
//
// support_kitty_keyboard_protocol false
+// Whether to make sure a local web server is running when a new Zellij session starts.
+// This web server will allow creating new sessions and attaching to existing ones that have
+// opted in to being shared in the browser.
+// When enabled, navigate to http://127.0.0.1:8082
+// (Requires restart)
+//
+// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
+// If this is not desired, one can use a version of Zellij compiled without
+// `web_server_capability`
+//
+// Possible values:
+// - true
+// - false
+// Default: false
+//
+// web_server true
+
+// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
+// running (see the `web_server` option for more details).
+// (Requires restart)
+//
+// Note: This is an administrative separation and not intended as a security measure.
+//
+// Possible values:
+// - "on" (allow web sharing through the local web server if it
+// is online)
+// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
+// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
+// Default: "off"
+//
+// web_sharing "on"
+
+// The ip address the web server should listen on when it starts
+// Default: "127.0.0.1"
+// (Requires restart)
+//
+// web_server_ip "127.0.0.1"
+
+
+// A path to a certificate file to be used when setting up the web client to serve the
+// connection over HTTPs
+//
+// web_server_cert "/path/to/my/cert.pem"
+
+// A path to a key file to be used when setting up the web client to serve the
+// connection over HTTPs
+//
+// web_server_key "/path/to/my/key.pem"
+
+// Whether to enforce https connections to the web server when it is bound to localhost
+// (127.0.0.0/8)
+//
+// Note: https is ALWAYS enforced when bound to non-local interfaces
+//
+// Default: false
+//
+// enforce_https_for_localhost true
+
+// The port the web server should listen on when it starts
+// Default: 8082
+// (Requires restart)
+//
+// web_server_port 8082
+
// Whether to stack panes when resizing beyond a certain size
// Default: true
//
@@ -434,7 +501,20 @@ load_plugins {
//
// show_release_notes false
-// Whether to show startup tips on session start
+// Whether to enable mouse hover effects and pane grouping functionality
// Default: true
//
-// show_startup_tips false
+// advanced_mouse_actions false
+
+// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
+// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
+// of this command will be used instead of the discovered RESURRECT_COMMAND
+// can be useful for removing wrappers around commands
+// Note: be sure to escape backslashes and similar characters properly
+//
+// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
+
+
+web_client {
+ font "monospace"
+}