Here is a .zip file with my basic control files for Vim. It includes my _vimrc, indent, & syntax files. Click on it to download it or, right-click on the link and do a "Save As"
VimFiles.zipThe file is probably one that came from a Unix system. Unix uses a <Carriage-Return><Line-Feed> combination to end a line of text. While in Windows, a <line-feed> alone is used. To fix, do a global search-and-replace to replace the (^M) with a Carriage-Return. The command below will change all the UNIX style <CR><LF> to the Windows normal behavior.
:%s/<ctl-q><ctl-m>/\r/gWHERE:
au GUIEnter * simalt ~x :he win16-maximized
set nocompatible set nobackup source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set ts=4 set inde= set indk= au GUIEnter * simalt ~x
If you move your executable AND want to put your "_vimrc" and "_gvimrc" files somewhere else, you must set $VIM to where you vimrc files are, and set $VIMRUNTIME to the runtime files.
Example:
set VIM=C:\usr\piet set VIMRUNTIME=E:\vim\vim54Will find "c:\user\piet\_vimrc" and the runtime files in "e:\vim\vim54".