Am 09.09.2016 um 09:22 schrieb Christian Brabandt:
Hi 'Andy!
On Do, 08 Sep 2016, 'Andy Wokula' via vim_dev wrote:
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?
CusorHold is only triggered, if Vim is waiting for input. The problem
however in the tests is, that the keyboard buffer is never empty, so we
can't really test the CursorHold autocommand.
Why do you want to "test" CursorHold in a situation where it is not supposed
to be triggered?
--
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.