mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-05-02 22:17:09 +08:00
add comments
This commit is contained in:
parent
c0bf256256
commit
00cacf814f
14
test/config
14
test/config
@ -42,6 +42,7 @@ module keybinds {
|
|||||||
module global {
|
module global {
|
||||||
|
|
||||||
b = func () {
|
b = func () {
|
||||||
|
# execute shell function and capture stdout and stderr
|
||||||
out, err = shell(`echo "bruhh"`)
|
out, err = shell(`echo "bruhh"`)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
debug_popup("an error occurred")
|
debug_popup("an error occurred")
|
||||||
@ -50,9 +51,7 @@ module keybinds {
|
|||||||
debug_popup(out)
|
debug_popup(out)
|
||||||
}
|
}
|
||||||
|
|
||||||
u = func() {
|
c = command_search
|
||||||
command_search()
|
|
||||||
}
|
|
||||||
|
|
||||||
v = func() {
|
v = func() {
|
||||||
result = input_popup("text")
|
result = input_popup("text")
|
||||||
@ -62,17 +61,18 @@ module keybinds {
|
|||||||
|
|
||||||
|
|
||||||
module playlist {
|
module playlist {
|
||||||
c = func() {
|
e = func() {
|
||||||
val = 10 + 10
|
val = 10 + 10
|
||||||
debug_popup(val)
|
debug_popup(val)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module queue {
|
module queue {
|
||||||
o = func() {
|
# override default loop keybinding
|
||||||
debug_popup("in queue")
|
o = toggle_loop
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# you can get the syntax highlighting for this language here:
|
||||||
|
# https://github.com/mattn/anko/tree/master/misc/vim
|
||||||
# vim: ft=anko
|
# vim: ft=anko
|
||||||
|
Loading…
x
Reference in New Issue
Block a user