Linux Development IDE built

Source: Internet
Author: User

has been developed under Windows, Microsoft provides IDE vs development is really fast and efficient, contact with Linux for a long time is usually using VIM to do some basic file compilation, and now suddenly to go to Linux to do development or not very well, there are a lot of network to build vim IDE's post, refer to some or intend to write a suitable for my own IDE to build instructions, this article will continue to improve ....

1. Software Requirements

Vim version Unlimited, Linux system comes with, not to be processed

Project plugin: Http://pan.baidu.com/s/1c0Cnl7M

2. Environment configuration

(1) Unzip project, the doc and plugin two folders will appear

tar -xf project. Tar

(2) Create a. Vim directory in the current user root directory

mkdir ~/.vim

(3) Copy doc and plugin to. Vim Directory

CP Doc ~/. Vimcp Plugin ~/.vim

Configuration Complete manual start using

3.Project Instructions for use

(1) Project command

When you start the project plug-in, some commands are supported relative to it. Enter in normal mode (note case sensitive):

\ r updates the collapsed file according to the item filter.
\ r recursive execution \ r.
\c Create a project. But does not include subdirectories under the specified directory.
\c executes the \c recursively, including all subdirectories under the specified directory.
<Return> Open the file, or turn the collapse on or off.
<S-Return> Shift+return
\s with <Return> Open file, split the window horizontally when opening the file.
\s load all files into the current window, the current window will be split horizontally to display all the files.
<C-Return> Ctrl+return
\o opens the specified file into a window, and closes all other windows,
<M-Return> Alt+return
\v just open the file, the cursor remains in the list of items.
<CTRL-Up>
\<up> moves the text or collapses to the previous line of the current cursor.
<CTRL-Down>
\<down> moves the text or collapses to the next line of the current cursor.
\I displays the full parameters of the collapsed cursor and the inheritance parameters in the status bar.
\I Displays the full path of the file in the status bar.
\l loads all the files of the current project layer into the current vim. During the loading process, any key presses cause a stop.
\l Loads the current project and the files in the subproject into the current vim. Use sparingly.
\g executes grep at the current project level.
\g executes grep at the current project level and sub-project.
<F12> when the flag bit ' g ' is used in the variable g:proj_flags, the key is used to toggle open and close the Project window.

See Project.txt for other operations.

(2) Project creation

Open the Project window and enter \c (\c) in Project \c do not traverse subdirectories, \c Traverse subdirectories according to the actual situation

Enter the name of the Entry:projectname (project title)
Enter the Absolute Directory to Load:projectpath (project path)
Enter the CD parameter:. (CD refers to the path that VIM will enter after opening the project (including the file under the project), "." refers to the current project path)
Enter The file filter: (Filter source file, show only eligible)

After completion, you will see the project content in project, move the cursor can be changed in different files directly, enter to display the contents of the file on the right

(3) Special operation

Project below searches similar to vs inside to find within the entire solution

//   Enter \ggrep options and pattern in the Poject window (enter what you want to find, such as U_char), and you can find all the places you use under the project.   , is not very convenient,
It's a lot easier with this.

Not to be continued ... Back to the real-time update

Linux Development IDE built

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.