The shortcut keys I use Command mode : Wq or ZZ Save file and exit : Q Do not save file exit : Set Nu Sets line number :/Down Find :? Look up :%s/old/new/g replaces all old characters in text : N1,n2 s/s1/s2/g The S1 character from the N1 to the N2
VI under the basic divided into three modes of general mode, command line mode, editing modeVI a file after entering the general mode in this mode you can move the cursor, copy, paste, delete file dataGeneral mode input i,i,a,a,o,o,r,r into the
As a plugin that was voted "life changing" by the vast majority of users on http://www.vim.org/, it really changed our lives. A brief introduction to what is Lookupfile: a vim plugin that not only makes it extremely efficient to find files, but
Date: 2014.06.28Location: Base--------------------------------------------------------------------------------------Note: In order to illustrate the use of vim under the. Command salutation as Point commandFirst, point command briefThe VIM document
Text Editor: Word processorVim:visual Interface ImprovedFull screen editor, modal editorVim modeEdit mode (Command mode)Input modeLast-line modeMode conversion:Edit-InputI: In front of the character where the current cursor is located, convert to
Linux system boot into desktop system with Init5vim Editor installed Yum--disablerepo=\*--enablerepo=c6-media install man vim-yCopy passwd to current directoryCommand modeH left J down K Upper L Right Capital H current screen at the very beginningg
The VIM as the main editor of ACM for a long time, with the benefits of vim needless to say,Here is a summary of the Vim configuration method in ACM, the configuration is directly written into the ~/.VIMRC can be.14-line configuration for
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we talked about the Dragon Slayer knife: Vim's evenRing knife. This time, let's go on with Vim's Blade: The Dragon Sword, vim, and knife. Well, that's
VI and VIM are both text editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features in it.Vim/vi is a powerful full-screen text editor, which is the most commonly
Search to NavigateThe character search commands (F{char}, T{char}, and so on) is fast and lightweight, but they has limitations. They can only search for a single character at a time, and they can only operate within the current line.Character
Originally in vim paste from other places copied from the text, always use SHIFT + inert, then think, can not directly like P paste, do not have to enter the insertion mode and then paste. Later read the "Vim practical skills" on the introduction of
Vi:visual InterfaceText editor, word processorAsciiVim:vi imporvedFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In front of the character that the current cursor is in, switch
Requirements Description1. If you change all Chinese names in English to "fan Jianqiang" to "Qiangjian fan"2. Turn all the "Change World,change mind! "Replace" change mind, change world! ”3. Swap the age column and ID column for the following sample
I posted my use of vim configuration and plug-in configuration, these things can only be a script stack, no discussion of efficient code reading development.Let's write the frequently used commands, and start with the Configure F-Series shortcut
This article mainly teaches you how to use the Vim split screen function.Split screen start vim
Use the uppercase O parameter to split the screen vertically.vim -On file1 file2 ...
Use the lowercase o parameter to split the screen
1. Several paths:Ubuntu:/etc/default/locale equivalent to centos:/etc/sysconfig/i18nPath to VIMRC: ①~/.VIMRC②/ETC/VIM/VIMRC2. Workaround:① Adding language support$sudo vim/var/lib/locales/supported.d/local#Add the following Chinese character set
Talk Vim together (11th back: Vim separation), talkvim
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we talked about the removal of the dragon knife: Vim
Life knife method. In this case, let's
Common vi/vim commands
Vi/vim commands are complex and powerful. Here we will introduce some commonly used commands that can meet general needs.
Move the cursor:-Shift left: h-Move Down: j-Move up: k-Shift right: l-Flip: ctrl f, ctrl B
Vim highlights the syntax structure of the nginx configuration file, vimng.pdf
Vim highlight the syntax structure of the nginx configuration file
1. Download the vi syntax highlight configuration file ~ /. Vim/syntax
Note: This directory is
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