On Wed, Apr 26, 2006 at 02:00:07AM -0600, Eric Arnold wrote: > On 4/26/06, Gerald Lai <[EMAIL PROTECTED]> wrote: > > > > Yes, I have seen it, and can reproduce it. I never thought I could find > > a simple test case to illustrate it until now: > > > > fun! InsVis() > > exe "normal! \<C-w>wv" > > BTW, I don't have to switch windows to get these modes to work. Simply > normal! V > > is enough. > > > return ""
OK, I see it (in vim 7.0f). I tried fun! InsVis() normal! v return "" endfun and then from Insert mode, <C-R>=InsVis()<CR> This mode seems to be similar to Insert mode, but <Esc> takes me to Visual mode instead of Normal mode. AFAICT this is undocumented. HTH --Benji Fisher