Closed pvinis closed 8 years ago
That's basic emacs stuff: You can only bind a command to a key. To make that lambda into a command, add the interactive
form:
(evil-leader/set-key "rr" (lambda (arg)
(interactive)
(load-file "~/.emacs.d/init.el")))```
thanks
i have this
but it doesnt work. it gives me wrong type argument: commandp. how can i fix that?