Configuration of the "Linux" vim

Source: Internet
Author: User

1. configuration file. vimrc

Under directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users.

650) this.width=650; "title=" none. png "src=" Http://s4.51cto.com/wyfs02/M02/81/FB/wKioL1dGsGTyy_aKAABfwqZLPSU001.png " alt= "Wkiol1dgsgtyy_akaabfwqzlpsu001.png"/>

In each user's home directory, you can create a private configuration file named: ". VIMRC".

Directly download the master to write a good move to their home directory can be.

Download Vimrc.zip, unzip the file as. VIMRC, put it in the current user's directory.

Links: Http://files.cnblogs.com/ma6174/vimrc.zip

650) this.width=650; "title=" none. png "src=" http://s4.51cto.com/wyfs02/M02/82/00/wKiom1dG4I_ Z7cyyaab8kn8zd3m157.png-wh_500x0-wm_3-wmp_4-s_3007280312.png "alt=" wkiom1dg4i_z7cyyaab8kn8zd3m157.png-wh_50 "/ >

There will be a problem and you will find that you just pasted the past document and disappeared. Because the file is hidden under the virtual machine, you need to show the hidden file on the check tick.

open a. VIMRC, Some settings are commented out. To cancel the corresponding comment, you only need to delete the preceding double quotation marks. Set line number, lexical highlighting, auto indent, etc.

650) this.width=650; "title=" none. png "src=" http://s5.51cto.com/wyfs02/M00/81/FE/ Wkiol1dg4tzi0rgnaabvotlq-gs107.png-wh_500x0-wm_3-wmp_4-s_3735261500.png "alt=" Wkiol1dg4tzi0rgnaabvotlq-gs107.png-wh_50 "/>

2. Configure the TagList plugin

Links:http://www.vim.org/scripts/script.php?script_id=273

Download the Taglist_xx.zip, put the extracted doc content to ~/.vim/doc, the extracted plugin under the contents of the copy to ~/.vim/plugin.

if not, you can create a vim file yourself .

650) this.width=650; "title=" none. png "src=" http://s4.51cto.com/wyfs02/M02/81/FE/ Wkiol1dg5d2h4qyfaabydmb9dki723.png-wh_500x0-wm_3-wmp_4-s_4128746291.png "alt=" Wkiol1dg5d2h4qyfaabydmb9dki723.png-wh_50 "/>

3. Install File Browser and window Manager--plugin: Winmanager

Links:http://www.vim.org/scripts/script.php?script_id=95

Download the winmanager.zip,2.x version above.

Put the extracted doc content into ~/.vim/doc, and copy the extracted content from the plugin to the ~/.vim/plugin

650) this.width=650; "title=" none. png "src=" http://s3.51cto.com/wyfs02/M00/82/00/ Wkiom1dg6cwiktr7aabt8k4nztc195.png-wh_500x0-wm_3-wmp_4-s_2886142719.png "alt=" Wkiom1dg6cwiktr7aabt8k4nztc195.png-wh_50 "/>

4, add the following sentence in the ~/.VIMRC

This article is from the "Scen" blog, make sure to keep this source http://10741357.blog.51cto.com/10731357/1783606

Configuration of the "Linux" vim

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.