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}); > > Implementation is exceptionally simple, it's 1-liner. We just > call existing server_to_input_buf(). It's same thing as receiving end > of remote_send(v:serer_name,{string}) does, but works for any vim, > even if vim has no server name. > > The doc patch is included. > > I realize it's release time and feature addition is unlikely at this > point.
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... -- hundred-and-one symptoms of being an internet addict: 251. You've never seen your closest friends who usually live WAY too far away. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://www.ICCF.nl ///