-
Notifications
You must be signed in to change notification settings - Fork 3
/
dev.kdl
67 lines (66 loc) · 3.5 KB
/
dev.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
layout {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane command="nvim"
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/zellij_forgot.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 name="zellij_forgot" {
plugin location="file:target/wasm32-wasi/debug/zellij_forgot.wasm" {
"lock" "ctrl + g"
"unlock" "ctrl + g"
"new pane" "ctrl + p + n"
"change focus of pane" "ctrl + p + arrow key"
"close pane" "ctrl + p + x"
"rename pane" "ctrl + p + c"
"toggle fullscreen" "ctrl + p + f"
"toggle floating pane" "ctrl + p + w"
"toggle embed pane" "ctrl + p + e"
"choose right pane" "ctrl + p + l"
"choose left pane" "ctrl + p + r"
"choose upper pane" "ctrl + p + k"
"choose lower pane" "ctrl + p + j"
"new tab" "ctrl + t + n"
"close tab" "ctrl + t + x"
"change focus of tab" "ctrl + t + arrow key"
"rename tab" "ctrl + t + r"
"sync tab" "ctrl + t + s"
"brake pane to new tab" "ctrl + t + b"
"brake pane left" "ctrl + t + ["
"brake pane right" "ctrl + t + ]"
"toggle tab" "ctrl + t + tab"
"increase pane size" "ctrl + n + +"
"decrease pane size" "ctrl + n + -"
"increase pane top" "ctrl + n + k"
"increase pane right" "ctrl + n + l"
"increase pane bottom" "ctrl + n + j"
"increase pane left" "ctrl + n + h"
"decrease pane top" "ctrl + n + K"
"decrease pane right" "ctrl + n + L"
"decrease pane bottom" "ctrl + n + J"
"decrease pane left" "ctrl + n + H"
"move pane to top" "ctrl + h + k"
"move pane to right" "ctrl + h + l"
"move pane to bottom" "ctrl + h + j"
"move pane to left" "ctrl + h + h"
"search" "ctrl + s + s"
"go into edit mode" "ctrl + s + e"
"detach session" "ctrl + o + w"
"open session manager" "ctrl + o + w"
"quit zellij" "ctrl + q"
}
}
}
}
}
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}