Recently played Vim, because considering the future migration convenience, so plug-in management with Vundle, really very powerful things, in the configuration to write a plug-in address, and then in vim a plugininstall command can be installed in the configuration to install the plugin. I installed in the Windows environment, encountered several pits in the middle. Hereby record.
1. Installation steps: Git client-_-> Configuration Curl Script-_-> installation Vundle
2. After installing Git, go to the installation directory, locate the cmd file directory, and add the cmd file directory path to the system environment variable. (so you can use Git's commands directly in cmd mode without git bash).
3, configure Curl Script: Under Windows need to establish a curl script for vundle remote link. Create a new empty text file under Git's cmd path, rename it to Curl.cmd, and edit the content to
Note: Change the encoding you want to save as utf-8 when saving the Curl script, otherwise curl--version will error. This is the situation I have encountered, different devices may be different.
4, installation Vundle: Generally in win under the installation of Vim, will be in the installation directory generated Vim74 (my version is 7.4), vimfiles, _VIMRC these things. Create a new bundle directory under Vimfiles to store the plug-ins you want to install.
Then git clone https://github.com/gmarik/Vundle.vim.git in the bundle directory. Then Note: Clone down what directory is what directory, the name is best not to make changes, my is vundle.vim.
after the installation is successful, my directory level is vimfiles-_-> bundle-_-> Vundle.vim. Then configure the Vundle, you can write the configuration directly in the _VIMRC, you can also create a new. vim file to write the configuration and then import into the _VIMRC file, the import should pay attention to the path (when I import the absolute path is written, there is no problem). The configuration I chose is the latter. Is my vundle configuration. Note where the tag is, the last level of the directory is clone down the directory.
Attach a comparison of vundle old and new commands (now available visually)
Vundle Installation Precautions