Vi/vim commands are complex and powerful, and here are some of the more common commands that can be used to meet general needs.To move the cursor:-Shift Left: H-Move Down: J-Move up: K-Shift Right: l-page Flip: Ctrl F, CTRL bInsert:-Insert at cursor
First, the basic introductionVim (vi improved) as the name suggests is the modified version of VI, then what is VI?VI is a commonly used in Gnu/linux under the editor, with the continuous expansion of demand, on the basis of the vi made a lot of
Vim Installation PluginRelease data:2015.03.28Transferred from: VimchinaThe functionality of VIM itself is already very powerful, usually without the need to install additional plugins. Carefully study Vim's own functions and corresponding
1. Location of configuration filesUnder directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file, named:
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
Recently discovered that sublime incredibly able to open the function of vim, coupled with such a dazzling (forcing) cool (lattice) appearance, decisive use.I used vim when I used to use ZZ instead of ESC, in summary, need to perfect two points:1.
Vim Learning Note I, Mark (Mark)We can mark the text so that it is easy to jump between different locations in the document.Create tagsMoves the cursor to a line and marks it with a ma command. Where m is the tag command, anda is the name of the tag
Formosa Programmer Homemade Xvim Command Summary, great, all common commands at a glance, beginners can easily find their own command, here I share this map, to the island programmer Vgod Salute.Original address: http://blog.vgod.tw/Download PDF
multi-label into VIM before vim-P Open file in Multi-tab format. such as Vim-p *is to edit all the files in the current directory, VIM Editor: Tabnew Add a tag: TABC close the current Tab:tabo close all other tab:tabs view all open TAB:TABP or GT
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts recording macro and registers the result in register XQ Exit Record mode@x playing macro commands
The compilation, installation and use of the VIM plugin Cscope tool1. Download: http://download.chinaunix.net/download.php?id=3536&ResourceID=19002. Compiling#./configure#makeMake has failed:[Email protected]:~/.vim/cscope-15.5# makeMake
view edit binaries with vimvim makes it easy to edit binary files, which the individual thinks is better than the binary editing methods of Emacs. the editing of the binary files in Vim is the first to dump the file into the binary text form by the
split up and down and open a new file. : SP filename splits the currently open file around. Ctrl+W v splits around and opens a new file. : VSP filename Move cursor VI in the cursor key is H, J, K, L, to switch between each screen, only need to press
Press V to enter visual state, select multiple lines, indent or indent with > or Automatic indentation is usually used according to the language characteristics: Use = = in the command state for the current line (double-click = two times), or n== (n
Scope of application: a beginner who has some knowledge of vim.1 General Mode
Move cursor
H or ←
The cursor moves one character to the left
J or ↓
Move the cursor down one character
K/
Vim command collectionCommand history
Commands starting with ":" and "/" have historical records. You can first type ":" or "/" and then press the up or down arrow to select a historical command.Start vim
Enter the following command in the command
Vi and vim Editor (15): main improvements to vi by vim, vivim
Vim has made a lot of improvements to vi. This chapter will discuss the main functions added to vim: includes built-in help functions, startup and initialization options, new mobile
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