I set the following on my ~/.vimrc
:
set langmap=qd,QD
However, q
does not work since I set the following (so q
just moves the cursor to left):
noremap d h
noremap h gj
noremap t gk
noremap n l
So I set them to langmap
as well:
set langmap=qd,QD,dh,hj,tk,nl,ln,LN
However, when I type in h
, it inserts a line, since I also set the following:
nnoremap j o<Esc>k
To recap, I want to set the q
to d
, which then makes noremap d h
not working, so I added it to langmap
as well, but it then becomes incompatible with other remap settings.
So is it possible to set the langmap
as well as noremap
, without the keys being set recursively?
I use Dvorak so I want to set it like the above.