I use Evil, and I'm using the General package to set my custom keybindings. I'm using SPC as a leader key. The trouble is, I find that SPC is not interpreted as my leader key in some modes, namely dired, and also in the *Messages* buffer. I can't seem to figure out how to get it to work.
I've defined my leader key like this:
(general-define-key :states 'motion :prefix "SPC" ; Bindings under the leader key defined here...
keymaps: 'dired-mode-map doesn't seem to work, which is odd, because
C-h k SPC in dired mode shows
SPC runs the command dired-next-line (found in dired-mode-map)...
Does anyone know how to define my SPC leader key such that it will be effective in all modes?