Linux editor Vim keyboard details
The Vim keyboard in the Linux editor is detailed. The figure below is clear at a glance. From then on, learning is no longer difficult!
Note:
If there is no search or replacement in the figure, use the following.
Top-down search operations/lowercase n and N of word
Bottom-up search operations? Lowercase n and N of word
Common Replacement Operation: s/old/new
Match and replace the current line, replace all the replace operations in the first matched character line in the current line: s/old/new/g
Replace all matching strings in the current row in the row region: #,# s/old/new/g
Replace in the entire file: % s/old/new/g
The replacement commands in the entire document use the replacement confirmation function: s/old/new/c: s/old/new/gc :#, # s/old/new/gc: % s/old/new/gc
For more Vim tutorials, see the following:
Build Vim into a simple and practical IDE
Vim Learning Guide
Quick learn Vi Editor
Powerful Vim Editor
Build a Vim Development Environment on CentOS 6.2
Install the highlighted Vim editing tool in CentOS 5.4
Vim tips: C language settings
Set the Vim row number in Ubuntu
This article permanently updates the link address: