Install vim Chinese help Vimcdoc

Source: Internet
Author: User
Tags file copy

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-1.9. 0. tar. gz. tar. gz

2. Then go to the vimcdoc-1.9.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 encoding if 603     Set Helplang=cn    Set Encoding=utf-8    set fileencoding=utf- 8 endif

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-1.9.0.tar.gz/download)

"2" "Learning note-vim" vim beginner-Vim Chinese help document installation (http://blog.csdn.net/wo0621/article/details/12956173)

Install vim Chinese help Vimcdoc

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.