This plugin allows you to quickly name a new tab when creating it and to set
it's directory using zoxide.
Requires Zellij >= 0.43.1.
bind "Ctrl n" {
LaunchOrFocusPlugin "https://github.com/AlexZasorin/zellij-newtab-plus/releases/download/v0.3.0/zellij-newtab-plus.wasm" {
floating true
use_zoxide true
};
}You can also download the plugin binary and reference it locally:
bind "Ctrl n" {
LaunchOrFocusPlugin "file:/path/to/zellij-newtab-plus.wasm" {
floating true
use_zoxide true
};
}If you want to bind it to a particular mode, you will need to make sure you switch back to normal mode after launching the plugin:
tab {
bind "n" {
LaunchOrFocusPlugin "https://github.com/AlexZasorin/zellij-newtab-plus/releases/download/v0.3.0/zellij-newtab-plus.wasm" {
floating true
use_zoxide true
};
SwitchToMode "Normal"
}
}-
Press the keybinding you set up to launch the plugin (e.g.,
Ctrl+n). -
Type your desired tab name.
-
Press
Enterto create the new tab with the specified name.
Additional keybinds:
Esc: Close the plugin.