🖤
room
A Zellij plugin for quickly searching and switching between tabs.
Usage
Tab
to cycle through tab listUp
andDown
to cycle through tab listEnter
to switch to the selected tab- Start typing to filter the tab list
Esc
orCtrl + c
to exit
Why?
I rename my tabs so once I have a lot of them I have to start counting and then press Ctrl + t
then <tab num>
. So I wanted something that let’s me type to filter the tab list and then press enter to jump to the selected tab.
Installation
You'll need rust installed.
git clone [email protected]:rvcas/room.git
cd room
cargo build --release
mkdir -p ~/.config/zellij/plugins/
mv target/wasm32-wasi/release/room.wasm ~/.config/zellij/plugins/
Keybinding
Add the following to your zellij config somewhere inside the keybinds section:
shared_except "locked" {
bind "Ctrl y" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/room.wasm" {
floating true
}
}
}
You likely already have a
shared_except "locked"
section in your configs. Feel free to addbind
there.
Contributing
If you find any issues or want to suggest ideas please open an issue.
Development
Make sure you have rust installed then run:
zellij action new-tab --layout ./dev.kdl