Need some help with a EXWM keybinding.
I'm trying to add a keybinding of (exwm-workspace-switch-to-buffer (helm-exwm)) in exwm-input-global-keys, that I found from here
This function works if I run it in eval-expression, but I'm not sure how to bind it.
I have existing key bindings like ([?\s-a] . (lambda () (interactive) (exwm-workspace-switch-create 0))), that work. (I'm passing in an input of 0 to the function)
I'm trying to add ([?\s-l] . (lambda () (interactive) (exwm-workspace-switch-to-buffer (helm-exwm)))
However, I get the error: init.el:861:1:Error: Invalid read syntax: ". in wrong context"
Any help is appreciated. I've duckduckgo'd as much as I could.
Posted Dec 22, 2019, 10:44 PM UTC
11
Oh wow. I was missing a parenthesis. With:
([?\s-l] . (lambda () (interactive) (exwm-workspace-switch-to-buffer (helm-exwm))))it works.