-
Notifications
You must be signed in to change notification settings - Fork 14
/
plugin-dev-workspace.kdl
24 lines (24 loc) · 1.03 KB
/
plugin-dev-workspace.kdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
layout {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane edit="src/main.rs"
pane {
pane edit="Cargo.toml"
pane stacked=true {
pane size="10%" command="bash" name="COMPILE AND RELOAD PLUGIN" {
args "-c" "cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/rust-plugin-example.wasm"
// if you have "watchexec" installed, you can comment the above line and uncomment the below one to build + reload the plugin on fs changes
// args "-c" "watchexec 'cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/rust-plugin-example.wasm'"
}
pane expanded=true {
plugin location="file:target/wasm32-wasi/debug/rust-plugin-example.wasm"
}
}
}
}
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}