On 4/21/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > Yakov Lerner wrote: > > At the request of Nikolai Weibull, I made a patch, the > > pushkeys({string}) function which add keys sequence to the > > typeahead bufer. > > > > My point is that absence of such function puts console vim > > users at disadvantage. Gui vim users always have this > > functionality by means of remote_send(v:serername,{string}); > > > > The doc patch is included. > > This breaks a few things: > - server_to_input_buf() is only present when FEAT_CLIENTSERVER is defined. > - it changes the text "<cr>" to a CR character > - it deletes characters from a previous mapping > > Should use ins_typebuf() directly. > > Docs could be better...
I fixed these issues - Docs expanded. - We use ins_typebuf() directly now. - Specals keys are now recognized as "\<cr>" not "<cr>". - It's not dependent on FEAT_CLIENTSERVER now. Added remap/noremap flag argument. Yakov
pushkey.patch
Description: Binary data