Why can't i remap my keys with the following command in my spacemacs init.el
file?
(global-set-key (kbd "C-+") 'frm-zoom-in)
For some reason,it gives me the following error:
Wrong type argument,commandp, frm-zoom-in.
When I try to wrap it into a custom function:
(defun frm-zoom-plus (&optional arg)
(interactive "P")
(frm-zoom-in arg "u"))
It gives me the following error: Symbol's function definition is void: frm-zoom-in
.
How do I fix this?
frm-zoom-in
does not seem to be a defined function. Indeed, it's not defined in vanilla Emacs (although Spacemacs might be different). Why do you think that it is defined? Can you point us to its definition?F1 f the-function
to see whether the function you want to use is defined.