Thinca wrote:
> :help feedkeys() says,
>
> 'x' Execute commands until typeahead is empty. This is
> similar to using ":normal!". You can call feedkeys()
> several times without 'x' and then one time with 'x'
> (possibly with an empty {string}) to execute all the
> typeahead.
>
> > possibly with an empty {string}
>
> But feedkeys('', 'x') doesn't work.
>
> I wrote a patch which fix this. I also added test.
> Please check the gist below.
>
> https://gist.github.com/thinca/c3215460ebca3043529c
Thanks. The test works, but it has a one second delay.
I don't see an obvious reason for that.
--
If they don't keep on exercising their lips, he thought, their brains
start working.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.