[Original] Vim's usage skills: only when used can we understand "the best IDE is Vim" and vim's usage skills.
Half a year ago, I was still wandering in IDE such as Eclipse and ZendStudio. However, for the use of Vim over the past six months, I have to say that Vim is more efficient. It takes time to configure your own Vim
[Vim] vim learning notes-open, switch, and close multiple files. vim learning notesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and disp
Vim learning notes (1) -- vim operations and vim learning notes operations
Only record some of the most commonly used vim operations and update them at any timeText operations
D cut. Double-click to cut a row.
Copy y. Double-click to copy a row.
P Paste
X: Delete characters under the current cursor
R replaces th
First, edit mode, command modeIn general mode, enter: or/To enter command mode. In this mode, you can walk a character or string, save, replace, exit, display line number, etc./word: Look for a string after the cursor word, press N to go back to search? Word: Look for a string before the cursor word, press N to go back to search: n1,n2s/word1/word2/g: Find word1 between N1 and N2 rows and replace with Word2, no G replaces only the first word1 of each row: 1, $s/word1/word2/g: replace all word1 i
[Vim] vim use notes -- split screen operation, vim --
We often need to open multiple files, operate multiple files in different windows, and split the screen is very useful.
1 command mode: new, create a file and split the screen, shortcut key, Ctrl + W, then immediately press the n key: spilt horizontal split screen, the current screen is divided into two, h
The help entry for the commands used in this section:
:help vimgdb
At the beginning of the UNIX system design, there was a very important idea: each program only implements a single function and connects multiple programs through pipelines to make them work together, to provide more powerful functions. The program only implements a single function. On the one hand, it reduces the complexity of the program, and on the other hand, it also enables it to focus on this function and make it the best.
Label:Vi/vim Use advanced: Use GDB debugging in Vim – use Vimgdb The help entry for the commands used in this section: In the original design of Unix system, there is a very important idea: each program only to achieve a single function, through the pipeline and other ways to connect multiple programs, so that they work together to achieve more powerful functions. The program only implements a single funct
0 Introduction
Understanding the vim startup process is very important to enhance the confidence in using vim. All the information in this article comes from the reference manual provided by vim and the actual operation practices of the author. The Starting VIM section of Vim
When using the VI Editor, we found that the ESC key cannot be returned to the default mode. input the: HELP command, and we found that vim-tiny installed by default in Ubuntu is not complete in many functions. Install complete Vim for convenience. Note: In ubuntu, the VI and VIM commands actually use vim.
Tags: Vim into edit mode vim command modeThree common modes of VIM
General mode
Move cursor Position
Delete, copy, paste
Enter edit mode
"I" current word match either insert
"I" is inserted at the beginning of the line where the cursor is located
"A" is inserted in the current word specifier
"A
Vim has made a lot of improvements to VI, and this chapter discusses the main features added to Vim: including built-in Help features, startup and initialization options, new move commands, extended regular expressions, extended undo, custom executables, and more.Built-in Help features:Vim's documentation of more than 100,000 lines, almost all of the instructions can be obtained through the
From: http://www.ibm.com/developerworks/cn/linux/l-tip-vim3/index.html
3.1. Vim script Basics
In the. vimrc file, and in the plug-in and syntax files mentioned in Chapter 2, the language used is the Vim script language. The syntax of this script language is a bit like BASIC, and the expression is a bit like C, which is easy to understand. This chapter does not intend to give a very systematic introduction t
This is the penultimate article, the new blog is about to be completed
Toss and tidy up the next, own vim configuration, managed GitHub, support one-click Deployment
have plugin description, screenshots and animated GIF display
Https://github.com/wklken/k-vim
Click to directThe following is readme.md, for reference, hope to help
------------------------------------------
Vim color scheme settings (change vim color scheme) (1) after vim is installed, run the command whereisvim and you will see the returned result: vim: /usr/bin/vim/usr/share/man/man1/vim.1.gz note: /usr/share/
1, Vim is the ancient artifact of Linux programmer programmingVim is the most famous text/code Editor on the Linux system, and it is also an enhanced version of the VI editor of the early years, known as the best classic ancient artifact in the text/code Editor. The reason why it is such a reputation, I think mainly for the following reasons: 1. It is ancient and mysterious, the learning curve is steep, difficult to control, but once learned to benefi
VundleProject hosting is Https://github.com/gmarik/vundle on GitHub.Its features are the use of git to manage plug-ins, update convenience, support search, one-click Update, from then only need a VIMRC walk the world.Add the following in the VIMRC file to enable Vundle to manage the functionality of the VIM plugin:set rtp+=$VIM/vimfiles/bundle/vundle/ call vundle#rc(‘$
In Linux, the development time has been scattered for nearly a year and a half. At the beginning, VIM was used for simple code editing, during that time, I became familiar with VIM commands, edit mode switching, and Common commands in command mode. For the first time, I realized the power of VIM. In subsequent project development, although the Linux system is use
Using vim in the window as the php development environment (although I have been using vim in ubuntu)... although vim is essentially just an editor. But with some appropriate plug-ins, vim can also become a full-featured IDE. I have been using vim for a long time. after repe
A more comprehensive introduction of vim (for example)
Http://www.cnblogs.com/dubing/archive/2011/12/16/2290421.html
Http://blog.csdn.net/sabalol/article/details/3426635
Http://hi.baidu.com/howard1980/blog/item/3399e42668751b0a908f9d5f.html
Previous review
The previous section describes the basic environment configuration of C Programming in linux and the selection of related tools.
But we can use vim for
Vim and vim
The following article is translated from "Learn Vim Progressively". I think this is the best VIM Upgrade tutorial for beginners. I did not list all the commands, but just listed the most useful commands. Very good.
---------- The text starts ----------
Do you want to learn
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