I have a german keyboard and
\ is hard to reach, so I added the following line to my config:
map ß \
This works fine for simple leader commands, and I did not have to change my leader command in case I have to use vim with a non-german keyboard.
The problem arose when I tried to use the default easymotion commands which uses a prefix of
<leader><leader>. These do not work at all. Easymotion works when I use the complicated chord to actually input a
\ from my keyboard.
map should work in normal, visual, select and operator pending modes, so for this not to be working, i presume that pressing the leader key does not put you in the operator pending mode covered by the map command. So what
map variant do I need to use to cover the
<leader><leader> sequence with
ß, while keeping
\ as leader?
Using neovim on ubuntu.