mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-05-06 19:29:18 +08:00
add keybinding scope
This commit is contained in:
parent
cf50bde7a0
commit
a358b3a2b2
10
test/config
10
test/config
@ -35,9 +35,7 @@ color_now_playing_title = "#017702"
|
||||
color_playlist = "#008B8B"
|
||||
color_popup = "#0A0F14"
|
||||
|
||||
// this struct holds pressed key and function to be executed
|
||||
// use also can access internal command as function, for example yank command
|
||||
keybinds = {
|
||||
global = {
|
||||
"b": func() {
|
||||
out, err = shell(`"bruhh"`);
|
||||
if err != nil {
|
||||
@ -55,4 +53,10 @@ keybinds = {
|
||||
}
|
||||
}
|
||||
|
||||
// this struct holds pressed key and function to be executed
|
||||
// use also can access internal command as function, for example yank command
|
||||
keybinds = {
|
||||
"global": global
|
||||
}
|
||||
|
||||
// vim: syntax=go
|
||||
|
Loading…
x
Reference in New Issue
Block a user