First confirm GCC and g++ versions, whether they are consistent
Command: gcc-v;g++-V
And then vim
Write C + + files, such as: #include ...
Remember when you last save, Exit+:sav+cppname.cpp.
The ". cpp" suffix guarantees that the compiler
http://top.jobbole.com/1370/
The Sublime Text Editor has a very powerful "multiple selection" feature that supports "one edit, multiple changes". Since the vim-multiple-cursors this plugin, VIM users no longer need to envy Sublime Text users.
VI Editor: Full-screen text editorVi:visual Interface, visual interface;Vim has more new features relative to VI:1. Syntax coloring display;2. More orders;3. Historical records;VI: Modal text editor mode: Edit mode (Command mode), default mode of
Because very little command line, old despised, so today record a common command line:CD Switch working directory. Represents the current directory.. Represents the top-level directory of the current directory/root directory/directory
18, vim into the editing mode, Vim command mode, VIM practiceFirst, vim into the editing modeedit Mode : You cannot modify a character in general mode, and you can only enter edit mode if you want to modify the character. From general mode to edit
1.Vim Text EditorA text editor installed by default on all current Linux systems, with three modes:1. Command mode: Control cursor movement, can copy, paste, delete, find and so on text.2. Input mode: normal text input.3. Last-line mode: Save or
Ubuntu vim to install itInstallation and basic usage 1. Log in to Ubuntu with the root account, enter vim on the command line, and get the following hint if not installed: The program "Vim" is included in the following packages: * VIM * vim-gnome *
vim color, I set the background is black, the font is green, and then set the folder as magenta, the default note for the yellow light; in fact, there is a simple way, is set to the system configuration of the color scheme; reprint article is as
I've been trying to learn Vim for years. Now Vim is my favorite Linux text editor and the most popular open source tool for developers and system managers. I speak of learning, refers to the real meaning of learning. It's really hard to be
"Content of this section"Introduction to VIM Main modeVim Command modeVim insertion ModeVIM command line modeVim Visualization modeSetting up the VIM development environmentGedit A.txt &Xmanager use of Remote ToolsVim Editor mode switch:Command mode,
Problem:The directory in which vim automatically sets the currently edited file does not conflict with the current working path, but when Vim creates a new file, the working path automatically switches the cache path.How to make a file available
There are several forms of executing shell commands in vim:1):!commandDo not exit vim and execute shell command commands to display the command output in the VIM command area without altering the contents of the currently edited fileFor
1. Vim Common copy and Paste commandVim's copy-paste command is undoubtedly y (Yank), p (paster), plus yy,pPs:Vim has a very interesting convention (I think it is a convention), that is, the case of a command is to achieve a certain function, but
After studying vim for some time, it was not until recently that Vim's diff function was so convenient that it was no longer necessary to look for diff software or to rely on version-controlled diff in contrast to code changes. Powerful vim.Is my
It is troublesome to annotate multiple lines of Python code in Vim, mainly by following several methods:(1) Render the code that needs comments as a document string(2) render the code that needs comments as a function(3) Use Vim's own shortcut
In December last September, the android extended series (4)-basic use of the vim editor recorded the simplest Vim operations. But the charm of VIM comes from the magical skill operations. these skills can be used to skillfully combine Vim features,
When reading the help document of ctags, You can see ptags. py, which is used to generate tags for python. The specific directory is in Python source code tools/scripts/ptags. py. You can download it from the python official website.
Source code,
From the forum, the original address: http://club.topsage.com/forum.php? Mod = viewthread & tid = 2373558 & fromuid = 3869657
The two editors are very lively, interesting, and worth sharing!
Emacs and Vim: God's editor and editor God
0. Collation:
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