On Sat, 7 Oct 2006 at 10:08pm, Bram Moolenaar wrote: > > > > exec 'normal! '.(s:IsSelectMode() ? "\<C-G>" : '')."\<Esc>gv". > > \ (s:IsSelectMode() ? "\<C-G>" : '') > > > > It is strange that the normal command would not recognize the <Esc> in > > select mode if I don't first switch to visual mode using <C-G>. > > I dunno. A did a small test and it seemed to work OK for me.
I got the "gv" replacing the selection, as if <Esc> was never pressed. When I added <C-G>, it worked fine. No big deal though. -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
