[1].
In the lastest vim 7.2.141, I cannot make it to work anymore.
Timer() is executed only once, as seen from 'echo strftime' printout.
Can anybody confirm this ? Am I missing some global setting ?
'updatetime' is set to 200.
autocmd CursorHold * call Timer()
function! Timer()
let K_IGNORE = "\x80\xFD\x35" " internal key code that is ignored
call feedkeys(K_IGNORE)
echo strftime("%c") " this for debugging
endfunction
[1] http://vim.wikia.com/wiki/Timer_to_execute_commands_periodically
--
You received this message from the "vim_use" 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
To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment