Skip to content

Zellij plugin for convenient switching between tabs with search capabilities

Notifications You must be signed in to change notification settings

Strech/zbuffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbuffers

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

If you like the project and want to support me on my sleepless nights, you can

Support via PayPal ko-fi

Installation

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

Development

# 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 dark

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Strech/zbuffers/issues.

About

Zellij plugin for convenient switching between tabs with search capabilities

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages