I assume you cannot simply move the mapping for motion state under evil-leader/in-all-states without breaking many current configurations, but perhaps it is possible to create another parameter to control motion state, enabled by default?
UPDATE: Apparently, without this line leader key will not work in visual state. So need to find a better solution, rather than the workaround I proposed above.
My leader key is assigned to
<SPC>
.But now I cannot use
<SPC>
in motion mode, in particular:d<SPC>
to delete one letter under cursor;c<SPC>
to delete one letter under cursor and enter insert mode.Obviously the following line "causes" my problem.
I assume you cannot simply move the mapping for
motion
state underevil-leader/in-all-states
without breaking many current configurations, but perhaps it is possible to create another parameter to controlmotion
state, enabled by default?UPDATE: Apparently, without this line leader key will not work in
visual
state. So need to find a better solution, rather than the workaround I proposed above.