I try to use the EasyMotion
plugin, but I don't want to use the normal leader key
, which is the \
-key in my case. I also don't intend to change the leader key
all together, as it might break things in vim-latex
.
So I thought about using the period
-key for this (I am already using the comma
-key for going into command-line
mode), because I never really use its repeat feature:
This is what I have tried so far in my .vimrc:
nunmap .
let g:EasyMotion_leader_key = '.'
The second command works just fine as it seems. But I can't unbind the period key with the first command (E31: No such mapping). If I am wrong with only wanting to unbind the period
-key in normal mode, then feel free to correct me.
Any ideas are appreciated!
.
as a lead may not a good idea. in normal mode.
does repeat.:h .
see detail. you will lose this nice feature if you use.
as a "leader". – Tomato.
to repeat changes. comment area doesn't support code format very well. So you can try it a little by yourself. also there is a plugin "repeat" to extend the function of.
. – Tomato