I'm interested in writing a plugin that could run in the background as I do some work in a buffer. For instance I have a function that appends a line to :copen. I would like to run it in the background continuously. How could I do this and continue working in the foreground?
func myFunc()
while 1
exe "caddexpr expand("%") . ":" . line(".") . ":" .
getline(".")"
exe "sleep 5"
endwhile
endfunc
"" how do I launch myFunc() to run continuously in the background?
Chuck
