Vu The Cuong wrote:
Dear Mechelynck

My vimrc file is as below:

set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

Based on your advice, I will remove  "source $VIMRUNTIME/mswin.vim". Is
it right?
But there is a line "behave mswin". Do I must remove this line also?
I just carefully confirm only. Thank you.


[...]

As said under ":help :behave", the line

behave mswin

is equivalent to

set selectmode=mouse,key mousemodel=popup keymodel=startsel,stopsel selection=exclusive

You may leave that line in your vimrc, remove it, replace it by "behave xterm" or by other settings of your choice, it doesn't affect omni-completion. Personally I use

set selectmode=mouse,key mousemodel=popup keymodel=startsel selection=inclusive

but that is just what I prefer personally.


Best regards,
Tony.

Reply via email to