Yakov Lerner wrote:
> 
> On Fri, May 23, 2008 at 7:54 PM, Philippe Fremy <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     Tony Mechelynck wrote:
>     > On 22/05/08 15:52, Philippe Fremy wrote:
>     > [...]
>     >> The conclusion seems pretty clear: mapping code is not executed when
>     >> sending keys through --remote-send. Is that a bug ?
>     > [...]
>     >
>     > I believe it is not a bug, by analogy to the following:
>     >
>     >>                                                    
>      *remote_send()* *E241*
>     >> remote_send({server}, {string} [, {idvar}])
>     >>              Send the {string} to {server}.  The string is sent
>     as input
>     >>              keys and the function returns immediately.  At the
>     Vim server
>     >>              the keys are not mapped |:map|.
>     > etc.
>     >
> 
>     I see.
> 
> 
> Philippe,
> 
> Try this:
> 
>   vim --remote-expr 'feedkeys("\<F4>")'
> 
>   :help feedkeys()
> 

Thanks. It works, but it is not portable, so that's not enough for me.
But anyway, I can go without mapping support in --remote-send, if I am
aware of it.

        cheers,

        Philippe




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui