Simple VIM Configuration

Source: Internet
Author: User

My working environment is centos6.5. Now is the Linux rookie stage. So I will be very careful to tell you how my vim is configured.

Let's start by showing the results:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/82/2D/wKioL1dNbhvj3EjjAAJkxfHCXqI156.png "title=" Vim configuration. png "alt=" Wkiol1dnbhvj3ejjaajkxfhcxqi156.png "/>


This interface is not cool ~ ~ come with me next ~ ~ ~

Under the directory/etc, there is a file vimrc, which is a common vim profile in the system and is valid for every user. Under each user's home directory, you can create your own private configuration file. Named. Vimrc.


1. Switch your login name "su"

2. Find some settings related to the Internet and paste it into this. vimrc file and save it.

3. Installing the TagList Plugin

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

Download the unzip Taglist_xx.zip file. Then unzip. Put the extracted doc content under your own user ~/.vim/doc . Put the extracted plugin content into their own users under ~/.vim/plugin

4. Add in ~/.VIMRC

Let tlist_show_one_file=1
Let Tlist_exit_onlywindow=1
Let Tlist_use_right_window=1


5. Install the File Browser and window Manager plug-in---Winmanager

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

Download Winmanager.zip. 2.X version above

Decompression Winmanager.zip , the extracted doc content into their own users under ~/.vim/doc. Put the extracted plugin content into their own users under the ~/.vim/plugin

6. Add in ~/.VIMRC

Let g:winmanagerwindowlayout= ' fileexplorer| TagList '
Nmap wm:wmtoggle<cr>

7, open or ~ state input "WM", You will
See the effect. (If you already have Ctags installed)

Simple VIM Configuration

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.