Convenient switching between tabs with search capabilities.
A Zellij plugin heavily inspired by Emacs vertico/switch-workspace-buffer and Zellij session-manager resurection tab.
screen-recording.mp4
Download the plugin binary from the latest release
$ mkdir -p ~/.config/zellij/plugins && \
curl -L "https://github.com/strech/zbuffers/releases/latest/download/zbuffers.wasm" \
-o ~/.config/zellij/plugins/zbuffers.wasm
Add this shared key binding into keybinds section of your Zellij config
shared_except "locked" {
bind "Ctrl b" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/zbuffers.wasm" {
floating true
}
SwitchToMode "Normal"
}
}
Plugin key bindings are:
Important
Key bindings prefixed with Ctrl + might interfere with default key bindings
| Key (default) | Emacs | Vim | Action |
|---|---|---|---|
| Esc | Ctrl + g | Ctrl + c | Hide the plugin |
| Up | Ctrl + p | Ctrl + k | Move up |
| Down | Ctrl + n | Ctrl + j | Move down |
| Tab | Auto-complete search (selected tab name) | ||
| Backspace | Delete character from search | ||
| Enter | Switch to the selected tab | ||
| (any character) | Start searching |
# If you don't have Zellij installed already
cargo install zellij
# Building the plugin
cargo build
# Building the plugin for release
cargo build --release
# Running in Zellij
zellij --layout plugin-dev-workspace.kdl
zellij --layout plugin-dev-workspace.kdl options --theme darkBug reports and pull requests are welcome on GitHub at https://github.com/Strech/zbuffers/issues.