> It appears you expect lmap's to be remappable.  If you look at the
> output of ":lmap" you can see they are listed with a star, which means
> they are not remappable.

It is related to my old question, which is listed in todo.txt

> When a mapping exists both for insert mode and lang-insert mode, the last one
> doesn't work. (Tyru, 2010 May 6)  Or is this intended?

If :lmap is not remappable, above todo also can be removed.


On Sun, Aug 4, 2013 at 4:57 AM, Bram Moolenaar <[email protected]> wrote:
>
> Ron Aaron wrote:
>
>> On Friday, August 2, 2013 9:16:41 PM UTC+3, Bram Moolenaar wrote:
>> > Ron Aaron wrote:
>>
>> >
>> > :lmap is only for typed characters.  From the help:
>>
>> No, that's not my problem.  I'm attaching a file which demonstrates
>> the exact problem, if you do "gvim -u test.vim", and then in insert
>> mode type the "'" (single-quote) character, you will get a message.
>> If you then type ":HebrewWin" and type the 'w' character (which is
>> lmapped to "'" on a Hebrew keyboard) you will see the single-quote,
>> but no message.  Similarly if you type a single-quote (which gives you
>> a comma), you get no message.
>
> It appears you expect lmap's to be remappable.  If you look at the
> output of ":lmap" you can see they are listed with a star, which means
> they are not remappable.
>
> The problem wht remapping is that you nearly always get a recursive
> sequence, since the character that :lmap maps to usually is lmap'ped to
> something else.
>
> Solving this would require another kind of mapping: don't allow :lmap
> remapping but do allow other remapping.
>
>
> --
> hundred-and-one symptoms of being an internet addict:
> 40. You tell the cab driver you live at
>     http://123.elm.street/house/bluetrim.html
> 41. You actually try that 123.elm.street address.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>
> --
> --
> 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/groups/opt_out.
>
>

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui