On Wednesday, October 3, 2012 9:47:23 PM UTC-5, WU Yue wrote:
>
> After reading the help of "selectmode", I realize that -- (insert) VISUAL
> -- is not the SELECT mode, I have a workaround:
>
> autocmd InsertEnter * setlocal selectmode=mouse,key
> autocmd InsertLeave * setlocal selectmode=""
>
> sounds not good but it works :)
>
Oh, I see. I have "behave mswin" buried somewhere in my config which (among other things) sets selectmode to mouse,key. So for me, selecting with the mouse in insert mode DOES use select mode. I had forgotten this was not the default.
--
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
Thursday, October 4, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment