On 09/12/09 18:26, Peter Princz wrote:
[...]
> Now I understand it was because "behave mswin" just below the source
> mswin.vim line in his _vimrc.
> I had to comment that ot too and after that he got the desired behaviour.
[...]

The ":behave" command is much less problematic than the mswin.vim 
script; in fact it just sets four well-defined options to certain 
values. Personally I follow a sort of "middle path" between ":behave 
xterm" and ":behave mswin", as follows:

'selectmode'
        Vim default:            (empty)
        behave xterm:           (empty)
        behave mswin:           mouse,key
        I use:                  key,mouse

'mousemodel'
        Vim default (Unix):     extend
        Vim default (Dos/Win):  popup
        behave xterm:           extend
        behave mswin:           popup
        I use:                  popup

'keymodel'
        Vim default:            (empty)
        behave xterm:           (empty)
        behave mswin:           startsel,stopsel
        I use:                  startsel

'selection'
        Vim default:            inclusive
        behave xterm:           inclusive
        behave mswin:           exclusive
        I use:                  inclusive

I believe that this way I get the best of both worlds, but of course YMMV.


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
224. You set up your own Web page. You set up a Web page for each
      of your kids... and your pets.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to