Am 06.09.2016 um 20:42 schrieb Christian Brabandt:
Bram,
if in a test we do this:
     call feedkeys('d1', 'x!')
     call feedkeys('2l', 'x')

Vim will stay in the first feedkeys() call and wait for input.

I'd like to have feedkeys() return after CursorHold triggered,

You say Vim waits for input ... how does it trigger CursorHold then?

but have it not finished/aborted the first call, so that in the end
this command is executed:
d12l where a cursorhold command triggered after the 1

except you don't get a CursorHold ... (?)

Does that sound possible or should we not worry about those special case
(see normal.c:602)

--
Andy

--
--
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.

Raspunde prin e-mail lui