Actually, "feedkeys()" might be the answer, although I'm still having trouble with the bad interaction with getchar() (it causes subsequent getchar() calls to return as if there is an infinite input of the feedchar()).
On 4/22/06, Eric Arnold <[EMAIL PROTECTED]> wrote: > It occured to me that it would be nice to have > > startsearch (forward/back) > startex (begin :ex mode) > etc. > > since there doesn't seem to be (?) any way to start modes other than > insert from Vim scripts. >