* James Cole <[email protected]> [100328 07:31]: > At one point in a vim script function I'm writing, the system will be > in visual mode and I want it to go back out of visual mode to normal > mode. > > I know it doesn't really work to use something like 'normal! v' > because if the visual mode it stared in was 'V' then that command will > just change it to a character-based selection rather than going back > to normal mode.
Dunno... Maybe you could check what mode() returns for this. Just an idea. -- Florian "eix" Rehnisch <[email protected]> +49-1520-9573489 Lüdersfelder Straße 10, 31655 Stadthagen, Allemagne DE GPG 1CF2467F ICQ 99773910 e...@{freenode,ircnet,debian} Vim-Hilfe - auf Deutsch: http://tinyurl.com/vim-help-de -- 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.
