Vim Project Management)

Source: Internet
Author: User

From: http://code.google.com/p/xiangelinux/wiki/vim_pm

 

Does Vim require additional engineering management plug-ins? The answer is no need. Suppose we have a project under the test directory, which contains main. C, A. C, B. C...

1. Create a project file

(1) enter the test directory and start vi
(2) run the: e command to open all the files that need to be added with the function.
(3) Use: mksession! Test. Vim create "project file"
(4) Exit vim.

2. Open the project file Process

Start Vim with vim-s test. vim.

3. Edit the project file

Run the following commands: B and Sb. These commands provide the auto-completion function. You only need to remember some file names.
For example, B MA <tab> is automatically completed as main. C.

4. List Files in the project

: Ls
You can use B <ls no.> to edit the required file.

5. Add a new file to the Project

First, exit vim and use vim-s test. Vim to restore the project status.
Use: E <File Name> to open one or more files
Use: mksession! Test. VIM: update the project file.

6. Delete project files

Use: BD file name. You can also use part of the file name to automatically complete.
Vim...

Vim's powerful "% ":

% You can jump between the start and end of the pair brackets, macros, and annotation symbols. With the code folding function ZF, Zo, and ZC, you can quickly browse large sections of code.

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.