Re: clientserver --remote-send and map

2008-05-28 Fir de Conversatie Philippe Fremy
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

Re: clientserver --remote-send and map

2008-05-28 Fir de Conversatie Ben Schmidt
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. Not portable?! Why not? Ben.

Re: clientserver --remote-send and map

2008-05-28 Fir de Conversatie Philippe Fremy
Ben Schmidt wrote: 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. Not portable?! Why not? My mistake, I checked

Re: clientserver --remote-send and map

2008-05-23 Fir de Conversatie Philippe Fremy
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:

Re: clientserver --remote-send and map

2008-05-23 Fir de Conversatie Yakov Lerner
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

Re: clientserver --remote-send and map

2008-05-22 Fir de Conversatie Yakov Lerner
On Wed, May 21, 2008 at 6:49 PM, Philippe Fremy [EMAIL PROTECTED] wrote: Hi, I am playing with --remote-send. I have the following problem: d:\work\vimWrapper\vimWrapper1\pyvimwrapper\testsgvim --servername HOP --remote -send :map F4 icoucouLTCRLTESCjCR This sets the function key

Re: clientserver --remote-send and map

2008-05-22 Fir de Conversatie Tony Mechelynck
On 22/05/08 08:51, Yakov Lerner wrote: On Wed, May 21, 2008 at 6:49 PM, Philippe Fremy[EMAIL PROTECTED] wrote: Hi, I am playing with --remote-send. I have the following problem: d:\work\vimWrapper\vimWrapper1\pyvimwrapper\testsgvim --servername HOP --remote -send :mapF4

Re: clientserver --remote-send and map

2008-05-22 Fir de Conversatie Philippe Fremy
Tony Mechelynck wrote: On 22/05/08 08:51, Yakov Lerner wrote: On Wed, May 21, 2008 at 6:49 PM, Philippe Fremy[EMAIL PROTECTED] wrote: Hi, I am playing with --remote-send. I have the following problem: d:\work\vimWrapper\vimWrapper1\pyvimwrapper\testsgvim --servername HOP --remote

Re: clientserver --remote-send and map

2008-05-22 Fir de Conversatie Tony Mechelynck
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:

clientserver --remote-send and map

2008-05-21 Fir de Conversatie Philippe Fremy
Hi, I am playing with --remote-send. I have the following problem: d:\work\vimWrapper\vimWrapper1\pyvimwrapper\testsgvim --servername HOP --remote -send :map F4 icoucouLTCRLTESCjCR This sets the function key F4 to do icoucouCRESCj, i.e. insert coucou + end of line, return to normal