I just installed vim on Windows XP machine. When logged on to another user a little bit ago, I went to C:\program files\vim\_vimrc and commented out the following lines
"source $VIMRUNTIME/vimrc_example.vim "source $VIMRUNTIME/mswin.vim "behave mswin and then Ctrl-X didn't cut text -- which is good.
However, when I logged in as administrator on the computer and run vim, Ctrl-X went back to cutting text :(. I even renamed C:\program files\vim\vim72\mswin.vim to C:\program files\vim\vim72\mswin.nouse.vim and the silly Windows shortcuts are still in effect.
Where can I fix this? can I put behave nomswin in my ~/.vimrc file to undo those shortcuts?
EDIT: Even logging in as original user now vim uses windows shortcuts.
EDIT: fixed typo in pathname
EDIT: The following are VIM and VIMRUNTIME
echo %VIM% C:\Program Files\Vim
echo %VIMRUNTIME% C:\Program Files\Vim\vim72
mswin.vimexplicitly remaps<C-[XCV]>, so if you've already loaded the default Windows.vimrc, you (unfortunately) can't turn off the Windows-y settings with a simplebehave xterm; instead, you must explicitlyunmapthe offending mappings. (This is a comment instead of an answer since it doesn't seem to address your particular question, which is how to avoid loading the offending.vimrcfile in the first place.)