Hi

Le lundi 20 octobre 2014 22:22:26 UTC+2, Christian Brabandt a écrit :
> Turns out, the check for langnoremap has to be checked in a couple of
> more places.
> Here is an updated patch that fixes an issue, that when using  <c-r>=
> the righthand side would still be langmapped (e.g. when using set
> lmap==-)
>
> Therefore, I moved the check for the langnoremap option into the
> LANGMAP_ADJUST macro.

Thanks!

It seems to work just fine with me (I'm the one who wanted to remap his
entire keyboard from bépo to qwerty, the langmap I use now is here:
https://bitbucket.org/Dettorer/configuration/src/e338617fa2952b66bd5f2fe2d3742ce126d8d1f9/.vimrc.bepo_langmap?at=master)

However, it raised a few questions related to langmap itself:

1) If I want to, for exemple, remap ';' to ':', with this langmap I have
to do 'noremap ; N' ('N' being then mapped to ':' by the langmap), is it
the expected behaviour?

2) In a sequence, some keys are not mapped by langmap. For exemple the
motion 'f(' (find next '('): the '(' is the bépo's key for '(', it is
not mapped. I don't know if this is expected, but I like that
behaviour. However, in something like 'ci(' (change whithin
parenthesis), the '(' is mapped by langmap (so in bépo I type '9'). This
seems a bit inconsistent.

Anyway, thanks a lot for this patch!

Regards,

--
Dettorer

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui