Linux VIM Environment configuration

Source: Internet
Author: User
Tags function definition tagname

Under the user directory

Create User Profiles ~/.VIMRC

1. Command description

VSP Vertical Paging

2. Basic Configuration

Syntax on               " syntax highlighting turn on set tabstop=4           "tab width set to 4set Expandtab           " tab replaced by Space      

3. Plug-in installation and configuration

Installing Ctags

sudo apt-get install Ctags

Set ctags for Python
Ctags-r-F ~/.vim/tags/python.ctags/usr/lib/python2.5/
Set tags+= $HOME/.vim/tags/python.ctags
This allows you to jump to the tag of the system function in Python code.
Ctags-rx Generate tags file
Tag Command usage:
CTRL +] jumps to the label of the word under the current cursor
Ctrl+o Return to previous label
Ctrl+t Return to previous label
Ctrl+w +] Jumps to the system function definition
Tag TagName jump to TagName tab

4. Installing the plugin Management Vim-addon-manager

sudo apt-get install Vim-addon-manager

Vim-addons status shows plug-in state

Vim-addons install XXXX installation xxxx plugin

  

Linux VIM Environment 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.