On Fri, May 23, 2008 at 7:54 PM, Philippe Fremy <[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() Yakov --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---