diff --git a/CHANGELOG.md b/CHANGELOG.md index ac93d40c..95f79d9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] + +## [0.41.0] - 2024-11-04 * feat(layouts): allow consuming a layout through a url (https://github.com/zellij-org/zellij/pull/3351 and https://github.com/zellij-org/zellij/pull/3697) * dependencies: eliminate future incompatibility warnings (https://github.com/zellij-org/zellij/pull/3315) * fix(plugins): occasional out of order events on startup (https://github.com/zellij-org/zellij/pull/3367) 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 diff --git a/zellij-utils/assets/plugins/compact-bar.wasm b/zellij-utils/assets/plugins/compact-bar.wasm index 10c11343..f702c786 100755 Binary files a/zellij-utils/assets/plugins/compact-bar.wasm and b/zellij-utils/assets/plugins/compact-bar.wasm differ diff --git a/zellij-utils/assets/plugins/configuration.wasm b/zellij-utils/assets/plugins/configuration.wasm index c4682e9d..163d18aa 100755 Binary files a/zellij-utils/assets/plugins/configuration.wasm and b/zellij-utils/assets/plugins/configuration.wasm differ diff --git a/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm b/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm index 8de431e7..7585d34d 100755 Binary files a/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm and b/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm differ diff --git a/zellij-utils/assets/plugins/plugin-manager.wasm b/zellij-utils/assets/plugins/plugin-manager.wasm index 92bd8be7..ef827407 100755 Binary files a/zellij-utils/assets/plugins/plugin-manager.wasm and b/zellij-utils/assets/plugins/plugin-manager.wasm differ diff --git a/zellij-utils/assets/plugins/session-manager.wasm b/zellij-utils/assets/plugins/session-manager.wasm index 4c5891ae..496abfc0 100755 Binary files a/zellij-utils/assets/plugins/session-manager.wasm and b/zellij-utils/assets/plugins/session-manager.wasm differ diff --git a/zellij-utils/assets/plugins/status-bar.wasm b/zellij-utils/assets/plugins/status-bar.wasm index 1e7ccc9a..882c83db 100755 Binary files a/zellij-utils/assets/plugins/status-bar.wasm and b/zellij-utils/assets/plugins/status-bar.wasm differ diff --git a/zellij-utils/assets/plugins/strider.wasm b/zellij-utils/assets/plugins/strider.wasm index 747d4330..98ae6031 100755 Binary files a/zellij-utils/assets/plugins/strider.wasm and b/zellij-utils/assets/plugins/strider.wasm differ diff --git a/zellij-utils/assets/plugins/tab-bar.wasm b/zellij-utils/assets/plugins/tab-bar.wasm index ae3cc734..f9488e80 100755 Binary files a/zellij-utils/assets/plugins/tab-bar.wasm and b/zellij-utils/assets/plugins/tab-bar.wasm differ