add comments

This commit is contained in:
raziman 2021-02-15 11:55:09 +08:00
parent c0bf256256
commit 00cacf814f

View File

@ -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