1. Download:
Download page: http://vimcdoc.sourceforge.net/
Select "Latest platform independent Tarball, including an Linux/bsd installation Script" "1" download.
2. Installation:
Many people on the internet said that "decompression, the doc directory under the file copy to ~/.vim/doc" is not working. Here, refer to the steps in "2" for installation.
1. Unpack the tar.gz package:
TAR-XZVF vimcdoc-2.1.0.tar.gz
2. Then go to the vimcdoc-2.1.0 directory and execute
./vimcdoc.sh-i
The installer will automatically identify the Vim installation path and copy the Chinese document to the appropriate location. The original English documents are not affected.
Note: with the-i option, the Vimcdoc.vim global plug-in is installed by default, and the plugin generates a plugin directory under. Vim. Since we use Pathgeon to manage plugins, the plugins under plugin are outside of Pathgeon management. To do this, you can skip the Vimcdoc.vim plug-in during installation.
However, use the-i option to install:
./vimcdoc.sh-i
If you do not have a Vimcdoc.vim plugin (the plug-in is set to the default encoding of Utf-8, so that each use: The Help command takes precedence in Chinese), but also want to use: The Help command is preferred in the Chinese language, can be configured in the VIMRC file:
Set Vim help to Chinese and utf-8 encodingif version >= 603 set HELPLANG=CN set Encoding=utf-8 set Fileen Coding=utf-8endif
3. Uninstall:
Linux:
If you are using an automatic installation script installation, simply run the following command:
./vimcdoc.sh-u
However, you must use the same user name as the installation.
Reference
"1" Download Links (Https://sourceforge.net/projects/vimcdoc/files/vimcdoc/vimcdoc-2.1.0.tar.gz/download)
"2" "Learning note-vim" vim beginner-Vim Chinese help document installation (http://blog.csdn.net/wo0621/article/details/12956173)
"3" http://www.cnblogs.com/zhcncn/p/4042926.html
Installation of the VIM Chinese help manual