-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplugin-dev-workspace.kdl
More file actions
44 lines (39 loc) · 1.15 KB
/
plugin-dev-workspace.kdl
File metadata and controls
44 lines (39 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
layout {
tab name="editor" focus=true split_direction="horizontal" {
pane split_direction="vertical" {
pane name="editor" focus=true size="70%" {
edit "src/main.rs"
}
pane split_direction="horizontal" {
pane name="COMPILE AND RELOAD" {
command "bash"
args "-c" "cargo build --features tracing && zellij action start-or-reload-plugin zjpane"
}
pane {
command "bash"
args "-c" "tail -f .zjpane.log"
}
}
}
}
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zjstatus"
}
}
}
plugins {
zjpane location="file:target/wasm32-wasip1/debug/zjpane.wasm"
}
keybinds {
shared_except "locked" {
bind "Ctrl p" {
LaunchOrFocusPlugin "zjpane" {
floating true;
command_echo_command "bash -c 'echo \"Hello World\"'"
command_yazi_command "bash -c '~/.config/yazi/dev/yazi'"
}
}
}
}