Linux editor Vim keyboard details

Source: Internet
Author: User

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:

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.