Skip to content

Peeeaje/zellij-switch-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a Zellij plugin for switching session.

Installation

Clone and run the following command to install the plugin.

chmod +x scripts/zellij-switch-session.sh
sudo cp scripts/zellij-switch-session.sh /usr/local/bin/zellij-switch-session

and then you can use the alias zellij-switch-session to switch session.

zellij-switch-session <session-name> <dir>

Also you can use pipe too.

zellij pipe -p https://github.com/Peeeaje/zellij-switch-session/releases/download/v1.1/zellij-session-switcher.wasm -- <session_name>::<dir>

Sessionizer

also if you are interested in ThePrimeagen 's tmux-sessionizer like functionality, you can use scripts/zellij-sessionizer.sh for it.

if you want to run sessionizer as pane in zellij, add below in your config.kdl

shared_except "locked" {
    ...
    bind "Ctrl f" {
        Run "zellij-sessionizer" {
            // if you want to open in floating pane, set `floating true` instead.
            in_place true
            close_on_exit true
        }
    }
}

About

Zellij plugin for switching sesison.

Resources

License

Stars

Watchers

Forks

Packages

No packages published