Let Vim be the IDE

Source: Internet
Author: User

Gvim's Tabe tab opens in the same page (tab) and has the same effect on buffer, adding a new buffer

You can assume that the command-line mode of Gvim is similar to the operation in bash shell.

Pass in command-line mode! Comm can execute shell commands and even switch completely from vim to shell, using command: Shell, return with exit

Data exchange between VIM and shell commands:

R!comm Add Command Comm Execution result on the next line of the current row

3! Comm, 1,3!comm: Enter the contents of 3 rows or rows into the Comm command and replace the previous row with the command result

--------------------------------------------------------

Ctags is a program, not a VIM plugin
CTAGS-5.8-2.EL6.I686.RPM package is installed by default when the system is installed
Currently Ctags-5.8-2 is the latest version

The work that Ctags does is, under the root directory and subdirectories of the C program, for each source code
The identifier in the file defines where to create the label
The goal of Ctags is to quickly jump and locate files within and between files based on tags tags created in the directory.
Ctags Package of summary description:a C programming language indexing and/or cross-reference tool

Installing the Gvim plug-in is actually very simple, usually after the plug-in decompression, including a plugin directory and a doc directory, respectively, is
Xx.vim and Xx.txt files, copy the Xx.vim to the user directory under the plugin and Doc directories that are built into the. vim/directory.

typedef float REAL;
Only pre-compilation contains # and curly braces followed by semicolons, and other end of the sentence with semicolons

Ctags itself simply produces an index/tag file, but it does not display the label visually,
So using TagList to visually display the label, the command is: Tlist=tlisttoggle




Let Vim be the IDE

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.