It is exceedingly difficult to create interactive plugins with Vim- asynchronous scripting is all but impossible. Consider the simple goal of performing a periodic task- say every 100ms. I know of three methods available to do so, but each is unintuitive and has side effects which create a poor user experience.
1. cursorhold using feedkeys to trigger cursorhold- maps and window commands are killed 2. client/server with remote-expr - aborts maps. 3. Threads- this magically works in some setups but results in hard crashes elsewhere. My specific proposal is to bring back the old K_IGNORE magic key sequence[1] or something like it. I believe this would require minimal changes relative to implementing new autocommands or changing vim internals for a setTimeout. I would also be willing to submit a patch or two to make this happen. [1] https://groups.google.com/forum/?fromgroups#!topic/vim_use/jFNeXPKzX2M -- -- 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/groups/opt_out.
