Files
wehub-resource-sync dd0bc96284
Rust / Test (ubuntu-latest) (push) Failing after 1s
Rust / Integration Test (ubuntu-latest) (push) Failing after 2s
Rust / Build (ubuntu-latest) (push) Failing after 1s
Rust / Test (No Web) (push) Failing after 0s
Rust / Check Formatting (push) Failing after 2s
End to End tests / Build generic binary and run tests on it (push) Failing after 6m22s
Rust / Build (macos-latest) (push) Has been cancelled
Rust / Build (Windows) (push) Has been cancelled
Rust / Test (macos-latest) (push) Has been cancelled
Rust / Test (Windows) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:11:01 +08:00
..

About

This is an example Zellij plugin in Rust. It can be used as a template to start developing your own plugins.

More about Zellij plugins: Zellij Documentation

Development

Note: you will need to have wasm32-wasi added to rust as a target to build the plugin. This can be done with rustup target add wasm32-wasi.

With the Provided Layout

img-2024-11-14-100111

Run zellij -l zellij.kdl at the root of this repository. This will open a development environment that will help you develop the plugin inside Zellij.

It can also be used if you prefer developing outside of the terminal - in this case you should ignore the $EDITOR pane and use your IDE instead.

Otherwise

  1. Build the project: cargo build
  2. Load it inside a running Zellij session: zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/rust-plugin-example.wasm
  3. Repeat on changes (perhaps with a watchexec or similar command to run on fs changes).