":behave mswin" only sets a few options, but it is often used in
conjunction with ":source $VIMRUNTIME/mswin.vim", which sets a lot of
potentially dangerous mappings.
I only have behave mswin in my vimrc.
This happens with gvim -u NONE --noplugin.
When you do ":behave mswin" the shifted cursor keys start Select mode.
What you type then replaces the selected text.
The autocommand is
au CursorMoved * norm! zz
which holds the cursor in the middle of the screen.
As soon as I switch to selection mode (no matter how) and then move the
cursor (trigger the autocommand), the zz is not issued as normal command
but inserted in the buffer. IMHO this is wrong.
IMHO the zz should still be a normal mode command and norm! should be
aware of selection-mode and issue the autocommand as if <c-o> were typed
beforehand.
Regards,
Thomas.
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de