About VI1. VI is a widely used text editing program in a variety of UNIX and Linux systems.2. VI is not a typesetting program, but a purely text-editing program.3. VI is a full screen text editor, it has no menus, only commands.4. VI is not
As Vim is used more and more, we feel the power of VIM. For example, we need directory browsing recently. So we searched for related things and found a lot of knowledge on the Internet, however, it is complicated, so you just need to spend some time
vimball is a Vim plug-in that can help you easily install the plug-in VBA format. install vimballfirst, download it, and decompress it to the same directory as gvim.exe. It seems that Vim has vimball, so that the installation can overwrite the old
############# Buffer zone: E (: Open) Open the New Buffer: Ls (: buffers) list all buffers in the list/BS/BV/be (burexplore shortcut): Buffer 2 switch Buffer: Bnext/BN (CTRL 6) Next Buffer: Bprevious/BP top Buffer: Bfirst/BF first Buffer: Blast/BL
1. Vim open the document:
Vim document name open document in Normal Mode
VIM + N document name after opening the document, locate row n
VIM: Enter the vim interface and run the command "E document name" to open the document. This
How to Use Vim to find and replace In VI/vim, you can use the: s command to replace the string. This command has many usage methods for different details, which can implement complex functions and record several types here for future query
Vim program editor
1. first introduce the VI Editor
VI is divided into three modes: general mode, edit mode, and command line mode.
Open the file and enter the normal mode.
When you press any letter of "I, I, O, O, a, a, R, R, press [ESC ].
In
Recently, I have re-installed vim and compiled and deployed it to complete the plug-in ycm. The plug-in's completion effect and the error message automatically prompted when writing C code are still very good. I can't help but write it down, you can
1. Disable the VI consistency mode.
set nocompatible
2. How to configure backspace
set backspace=indent,eol,start
3. display the row number
set number
4. Set to display the cursor row and column information in the lower right corner of the editing
I used it a few years ago, but later I became unfamiliar with it. I can't summon up the courage to pick it up again... I have to use it today. Now that I have picked it up, I will record it well.
Introduction and Installation
Ctags is an
Vim basic commands
Leave ViZZ: WQ: X Archive before leaving: W archive name into his archive: Q quit (will prompt if the archive is changed): Q! Quit editing and leave: WQ! Force archiving and exit
Leave Vi temporarily:! Temporarily execute the Unix
1. Split screen to start Vim1. Use uppercase o parameters for Vertical Split screenVim-on file1 file2...2. Use lower-case o to split the screen horizontallyVim-on file1 file2...Note: N indicates a number, which indicates several screens.2. Disable
"Map compilation for a single file : Call do_onefilemake () function do_onefilemake () If expand (" %: P: H ")! = Getcwd () echohl warningmsg | echo "fail to make! This file is not in the current Dir! Press to redirect to the Dir of this file. "|
I. move the cursor
1. Shift left H, move right l, move down J, move up K
2. Flip down CTRL + F, flip up Ctrl + B
3. Flip down half page Ctrl + D, flip up half page Ctrl + u
4. Move to the end of the line $, move to the first 0 (number) of the line,
It is worth mentioning that the PDF version of my vim tutorial has been completed. You can download it. Here is the download of csdn: csdn. If the download fails on the left, you can also enter the following address in the browser to download: http:/
Time: 2014.08.06
Location: dormitory
Bytes -------------------------------------------------------------------------------------
We decided to set up the vim environment tonight, mainly through various plug-ins, and then we can live a happy life.I.
The matching and replacement function of VIM is very fast and powerful, but it is hard to show the number of matches. It should be implemented around a bend:The key to % S/xxx // gn is the final N, which indicates only the number of matched records
Xin Xing will share with you some tips on vim.
There is no doubt that vim is profound and profound. Here we will share some tips about vim, which I discovered today, because I just switched to vim soon, I am not familiar with many functions of vim,
Vim-) while confirming and searching for replacement
When performing simple global search replacement, you can use the following ex command:
: % S/which/what/g
It is easy to use
%
Each row (everyline)
S
Replace
How Xin Xing helps you with vim's third-section mobile technology that programmers need
First of all, it is worth mentioning that the pdf version of my vim tutorial has been completed. You can download it. Here is the download of csdn: csdn. If the
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