forked fromrvcas/room
- Notifications
You must be signed in to change notification settings - Fork0
A Zellij plugin for quickly searching and switching tabs 🖤
License
NotificationsYou must be signed in to change notification settings
thompsy/room
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AZellij plugin for quickly searchingand switching between tabs.
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
I rename my tabs so once I have a lot of them I have to startcounting and then pressCtrl + t
then<tab num>
. So I wanted somethingthat let’s me type to filter the tab list and then press enter to jump to the selected tab.
You'll needrust installed.
git clone git@github.com:rvcas/room.git
cd room
rustup target add wasm32-wasi && cargo build --release
mkdir -p ~/.config/zellij/plugins/
mv target/wasm32-wasi/release/room.wasm ~/.config/zellij/plugins/
Add the following to yourzellij configsomewhere inside thekeybinds 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.
If you find any issues or want to suggest ideas pleaseopen an issue.
Make sure you haverust installed then run:
zellij action new-tab --layout ./dev.kdl