Using the VSP command:
For example: There are files under a folder:
The code is as follows:
vector.cc, substr.cc
1. Open any file using the VIM command: Vim vector.cc open the first file. As shown in the following illustration:
2. Press: "ESC" key +
Although Vim is essentially just an editor. But with some proper plug-ins, vim can become a fully functional IDE as well. The author has been using Vim for a long time, after repeated experiments, configured an efficient PHP development environment,
the bottom of the Vim editor [Noeol], [dos] meaning
Sometimes using Vim to open a file will be found at the bottom of the window [Noeol], [DOS] hint information:
1
"Hello-dos.txt" [Noeol][dos] 2L, 10C 1,1 all
What does the
3.3 DebuggerDebugging is an essential part of the application development process, so it is very important to have a good debugger, unfortunately, Go in this aspect of development is not very perfect. Currently available debuggers are GDB, the
Tag: equals ' function ' defines command height positioning meaning character shortcutOne. Cursor movement^ to the first non-whitespace character of the line.+ to the first non-whitespace character at the next line-to the first non-whitespace
Add in VIMRCVnoremap : call addcharofcursor () "Incrementing characters in column modefunction! S:addcharofcursor ()Let C = col ('. ')Let L = line ('. ')Let L0 = line ("' Let L1 = line ("' >")Let char0 = Strpart (Getline ('. '), c-1,1)for k in range
Today with git commit-m "comment" submitted, the comments were wrong, so the various search data began and git bash vim entanglement ... (Online information I really did not operate successfully, but finally found out)Start with the git
Linux programming has been criticized a point is: Not a good IDE, a good IDE is how important ah, estimated that many people are stuck on this threshold, "工欲善其事, its prerequisite" Well, I teach you today to convert vim into a simple IDE, said it
1 Ctags Introduction Ctags generates a markup file to help locate an object in the source file.2 its generated tag file tags include a list of these objects:Macros defined with # defineThe value of the enumeration type variableDefinitions,
1 basic knowledge of character encodingCharacter encoding is one of the most basic and important knowledge in computer technology. If you lack relevant knowledge, please do it yourself. Only the most concise description is available here.1.1
background :Because of the irresistible reason, the learning environment was turned into an Ubuntu machine on a previous CentOS machine. Therefore, it is necessary to reconfigure the VIM environment on the new Ubuntu machine. It's already the third
Download and configureThe official address of the Nerdtree plugin is as follows, and you can get the latest version from hereHttps://github.com/scrooloose/nerdtree Download Zip installation packageOr use the following official website source file
1. Ci "(composed of change operator and text-object i")This command will find the next "enclosed string" in the line where the current cursor is located, clear the contents of the quotation marks, and enter insert mode for easy modificationYou can
The Github:https://github.com/scala/scala-tool-support project collects the configuration that the editor supports for Scala.1. The following Scala code is to get the vim configuration under Scala-tool-support.The Code of the blog shows that there
How to use split in vimFirst, the roleUse split to display two different files, or to display two different places of a file at the same time, or to compare two files by side. This can all be achieved through the split window. For example, the left
Meet the Global CommandThe :global command allows us-to-run an Ex-command on the matches a particular pattern. Let's start by studying its syntax. The:global command takes the following form (See:h: g):: The global command allows us to execute the
Vim (vimsual) is a universal full-screen editor in the Linux/unix series OS.Vim is divided into two states, that is, the command state and the editing state, in the command state, the type of character system is processed as a command, such as: Q
Sometimes when we use Vi/vim to edit the file if you do not notice the file permissions, when the last time the Save may prompt the following error, if forced to quit and then switch users, will certainly lose the current changes, below I will give
1.vim editing process after entering the command lineAbout the edit:A converts the command-line mode to edit mode, with the cursor at the beginning,I insert, O lowercase means go to the next line to edit; Capital O means to go to the previous line
I personally think that vi can't be used without it. Using it will improve the efficiency a lot, but it may not be able to catch up with the previous speed. The following is my shameless copy and paste: (the picture shows a piece of easy learning)
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