Skip to content

spacemaison/zellij-sticky-cwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a plugin for the Zellij terminal multiplexer that allows for keeping the current working directory when splitting panes. In order to run this, you need to use my fork of Zellij, as I had to make extensions to the core API's. This repositories Cargo.toml points to the fork as a relative path in an adjacent directory to this one, so make sure you compile Zellij and this plugin from the same root directory.

Usage

Once you've built both projects you need to modify your Zellij config.yaml to add this plugin and configure it like so:

plugins:
  - path: /absolute/path/to/target/wasm32-wasi/debug/zellij-sticky-cwd.wasm
    tag: sticky-cwd
    run: service

keybinds:
    plugins:
        sticky-cwd:
            pane:
                - action: [ NewPane: Right, ]
                  key: [ Char: 'm', ]

Note that you can bind NewPane instructions to be dispatched into the sticky-cwd plugin.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages