VI(VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is
A. Mobile:H,j,k,l: Left, bottom, top, right.W: The first word of the next word.E: The ending of the next word.B: The word head of the previous word.Two. Jump:%: Can match {}, "", (), [] jump between.H, M, L: Jumps directly to the top, middle, and
1. Learn to touch typing blind play is the foundation of everything the focus is on hand-eye coordination if blind play cannot be achieved. All high-efficiency vim operations will be impossibleUse of 2.vim2.1.HJKL Mobile Recommended Practice snake
Current Buffer Valid when you define a buffer-local mapping for "," and the global mapping may have a "," prefix, then vim waits for the next character's output to determine which mapping to use, and uses Will avoid this situation, directly using
Http://www.cnblogs.com/fakis/archive/2011/04/14/2016213.html1. Folding ModeAvailable options to set the folding method:Set fdm=xxx in the Vim configuration fileYou can call the VIM command directly in the file using comments */* Vim:set fdm=xxx:
Unlike most other editors, when you enter Vim, the characters you type in the default state are not inserted into the file you are editing. The concept of Vim (mode, which can simply be understood as "state") is very important. You need to know that
"Introduction to Plugins" ctags tool is used to traverse the source code files generated tags files, these tags files can be used by the editor or other tools to quickly find the location of the source code symbols (Tag/symbol), such as variable
First download the Ctags installation.To http://ctags.sourceforge.net/ download ctags source code ctags-5.6.tar.gzTAR-XVF ctags-5.8.tar.gzCD ctags-5.8./configureMake installIn the user's home directory, under the Vim profile. VIMRC, add "Set tags+=
The configuration file for vim in CentOS is stored in the/etc/vim directory with the configuration file named VIMRCin the terminal, enter the following command to edit the VIMRC configuration file:sudo vim/etc/vim/vimrcor sudo gedit/etc/vim/vimrc1,
One, vim repeat command 1. Repeat the last commandIn normal mode . (decimal point) means the last command operation is repeatedCopy test files to a local directory$ cp /etc/protocols .Open a file for editing$ vim protocolsNormal mode input x ,
First, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move to the end of the line $, move to the beginning of 0 (number),
through putty or SECURECRT connected to the Linux server, the use of VI editing *.php or *.c files, The blue comments are very light, can not see clearly, looks very cost eye effect as follows I am accustomed to the default color, do not want to
Occupy position, to be perfected.Vim Editor:Full-screen editor: VIMVi:visual interfaceSed: line EditorVI, VI improvedVim:Pattern:Edit mode: Command modeInput mode:Last-line mode:Edit mode--Input mode:I:insert,A:append,O:new Line,I: The beginning of
Take the Tomcat profile Service.xml as an example to record and learn the most common operations of VI.> What is VI or vim?Mans VI VIM (1) VIM (1) NAME - Vi Improved, a
Morning: Redirect:Tadafa (| character) can connect commands ll–l/etc/| Less Vim Advanced text editor vim introduction650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:
First use VIM to open the file that needs to be edited or viewed in binary format, not using the-B parameter sometimes results in a conversion error, as described in the post-divider section.Vim-b File-to-open.datThen use XXD to convert the file
Vi/vim Basic Use MethodThe VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because
VI Three modes of explanationCommand-line mode (commands mode/general mode)At any time, no matter what mode the user is in, just click the "ESC" key, you can get VI into the command line mode; We enter the Launch VI command under the shell
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.