[Original] Compile and install Vim on Windows

Source: Internet
Author: User

Refer to the instructions in the Vim-7.4.1786-20160425\\src\\installpc.txt file to compile
    1. 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
    2. 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
    1. Set up a vim directory on the D: disk.
    2. 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.
    3. 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.
    4. Copy the Vim-7.4.1786-20160425\src\xxd\xxd.exe to the D:\vim\vim74 directory.
    5. (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)
    6. 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).
    7. Set up the D:\vim\vimfiles directory and put the plugin in this directory.
    8. The final D:\VIM directory structure is as follows

[Original] Compile and install Vim on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.