-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin-dev-workspace.kdl
23 lines (23 loc) · 1021 Bytes
/
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
layout {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane edit="src/main.rs"
pane {
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/zellij-choose-tree.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/zellij-choose-tree.wasm'"
}
pane expanded=true {
plugin location="file:target/wasm32-wasi/debug/zellij-choose-tree.wasm"
}
}
}
}
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}