13 Jun
2022
13 Jun
'22
3:18 a.m.
Hi all, I'm trying to set the leader key of evil-mode as "SPC", but seems it can't apply with `evil-defin-key` later, this is the line of code where I set leader: https://github.com/ZWindL/.emacs.d/blob/master/settings/init-evil.el#L24 and here's the testing code I wrote in *scrach* ``` (defun my/test () (interactive) (message "test")) (evil-define-key 'normal 'global (kbd "<leader>m") #'my/test) ``` Not sure if it is the correct way to use <leader>, please help. Thanks & Best wishes zwindl