On 06-May-2011 11:51, mattn wrote: > On Friday, May 6, 2011 5:25:11 PM UTC+9, Ingo Karkat wrote: > > I agree that setInterval() would help. As a script writer, I could > > also imagine something like this: > > 3. autocmd <timeout=4000> CursorHold * ... > > I agree your said except No3. ;-) > Perhaps, we will hope an interface to "stop the timer". And No3 will > disappoint that.
This wasn't solely directed at the discussed CursorHoldR; in any case, by enclosing the autocmd in an augroup, you can easily disable selected autocmds. I think it's good that you've broadened the discussion; on the other hand, Christian has already implemented a quick solution, and it may be better to have that than to wait until eternity for a more general, but more difficult solution. -- regards, ingo PS: Please bottom-post in vim_dev. -- 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
