aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-11-04 09:18:03 +0100
committerAram Drevekenin <aram@poor.dev>2024-11-04 09:18:03 +0100
commit4b806795c3485a247929cbb55db0cdb0b6fd9bed (patch)
treefdbd4d5eb611c9069f3dd372dda330ca8c31f29b /example
parentdocs(changelog): base mode keybindings fix (diff)
downloadsl0ppij-4b806795c3485a247929cbb55db0cdb0b6fd9bed.tar.gz
sl0ppij-4b806795c3485a247929cbb55db0cdb0b6fd9bed.tar.xz
sl0ppij-4b806795c3485a247929cbb55db0cdb0b6fd9bed.zip
chore(release): v0.41.0
Diffstat (limited to 'example')
-rw-r--r--example/default.kdl44
1 files changed, 44 insertions, 0 deletions
diff --git a/example/default.kdl b/example/default.kdl
index 0d49686e..e7dfcf5d 100644
--- a/example/default.kdl
+++ b/example/default.kdl
@@ -120,6 +120,20 @@ keybinds {
};
SwitchToMode "Normal"
}
+ bind "c" {
+ LaunchOrFocusPlugin "configuration" {
+ floating true
+ move_to_focused_tab true
+ };
+ SwitchToMode "Normal"
+ }
+ bind "p" {
+ LaunchOrFocusPlugin "plugin-manager" {
+ floating true
+ move_to_focused_tab true
+ };
+ SwitchToMode "Normal"
+ }
}
tmux {
bind "[" { SwitchToMode "Scroll"; }
@@ -147,6 +161,7 @@ keybinds {
shared_except "locked" {
bind "Ctrl g" { SwitchToMode "Locked"; }
bind "Ctrl q" { Quit; }
+ bind "Alt f" { ToggleFloatingPanes; }
bind "Alt n" { NewPane; }
bind "Alt i" { MoveTab "Left"; }
bind "Alt o" { MoveTab "Right"; }
@@ -185,6 +200,8 @@ keybinds {
}
}
+// Plugin aliases - can be used to change the implementation of Zellij
+// changing these requires a restart to take effect
plugins {
tab-bar location="zellij:tab-bar"
status-bar location="zellij:status-bar"
@@ -197,10 +214,19 @@ plugins {
filepicker location="zellij:strider" {
cwd "/"
}
+ configuration location="zellij:configuration"
+ plugin-manager location="zellij:plugin-manager"
+}
+
+// Plugins to load in the background when a new session starts
+load_plugins {
+ // "file:/path/to/my-plugin.wasm"
+ // "https://example.com/my-plugin.wasm"
}
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
// eg. when terminal window with an active zellij session is closed
+// (Requires restart)
// Options:
// - detach (Default)
// - quit
@@ -238,6 +264,7 @@ plugins {
// auto_layout true
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
+// (Requires restart)
// Options:
// - true (default)
// - false
@@ -245,14 +272,17 @@ plugins {
// session_serialization false
// Whether pane viewports are serialized along with the session, default is false
+// (Requires restart)
// Options:
// - true
// - false (default)
+//
// serialize_pane_viewport true
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
+// (Requires restart)
//
// scrollback_lines_to_serialize 10000
@@ -283,6 +313,7 @@ plugins {
// The name of the default layout to load on startup
// Default: "default"
+// (Requires restart)
//
// default_layout "compact"
@@ -294,6 +325,7 @@ plugins {
// Toggle enabling the mouse mode.
// On certain configurations, or terminals this could
// potentially interfere with copying text.
+// (Requires restart)
// Options:
// - true (default)
// - false
@@ -303,6 +335,7 @@ plugins {
// Configure the scroll back buffer size
// This is the number of lines zellij stores for each pane in the scroll back
// buffer. Excess number of lines are discarded in a FIFO fashion.
+// (Requires restart)
// Valid values: positive integers
// Default value: 10000
//
@@ -340,26 +373,37 @@ plugins {
// When attaching to an existing session with other users,
// should the session be mirrored (true)
// or should each user have their own cursor (false)
+// (Requires restart)
// Default: false
//
// mirror_session true
// The folder in which Zellij will look for layouts
+// (Requires restart)
//
// layout_dir "/path/to/my/layout_dir"
// The folder in which Zellij will look for themes
+// (Requires restart)
//
// theme_dir "/path/to/my/theme_dir"
// Enable or disable the rendering of styled and colored underlines (undercurl).
// May need to be disabled for certain unsupported terminals
+// (Requires restart)
// Default: true
//
// styled_underlines false
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
// metadata info on this session)
+// (Requires restart)
// Default: false
//
// disable_session_metadata true
+
+// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
+// (Requires restart)
+// Default: true (if the host terminal supports it)
+//
+// support_kitty_keyboard_protocol false