Refer to the instructions in the Vim-7.4.1786-20160425\\src\\installpc.txt file to compile
- Download vim code git clone https://github.com/vim/vim.git vim-git
Git archive--format=zip--output=. /vim-7.4.1786-20160425.zip HEAD
- Compile Vim code (install VS2015 first).
Set Sdk_include_dir=c:\program Files (x86) \microsoft Sdks\windows\v7.1a\include Nmake-f Make_mvc.mak FEATURES=HUGE GUI =yes directx=yes ole=yes mbyte=yes ime=yes dynamic_ime=yes gime=yes cscope=yes iconv=yes OPTIMIZE=MAXSPEED XPM=no
Installation
- Set up a vim directory on the D: disk.
- Copy vim-7.4.1786-20160425\runtime\ the entire directory into the d:\vim\ directory and change the D:\vim\runtime directory name to D:\vim\vim74.
- Copy the Vim-7.4.1786-20160425\src\*.exe to the D:\vim\vim74 directory, including Gvim.exe/install.exe/uninstall.exe/vimrun.exe four files.
- Copy the Vim-7.4.1786-20160425\src\xxd\xxd.exe to the D:\vim\vim74 directory.
- (Run D:\vim\vim74\install.exe install vim, I didn't take this step because I don't need to start a menu shortcut, nor do I need a right-click menu shortcut)
- Create your own D:\VIM\VIMRC file (open gvim Input: Version command to see the order in which vim looks for VIMRC files, input: Echo $VIM or: Echo $HOME command to display variable values).
- Set up the D:\vim\vimfiles directory and put the plugin in this directory.
- The final D:\VIM directory structure is as follows
[Original] Compile and install Vim on Windows