Vim Learning Record (ii) efficient editing (command line)

Source: Internet
Author: User

Direct text, the second part of efficient editing.

One, command line editing

1. Command line Input

: Automatically jump to command line after input, accept command input

? Automatically jump to command line after input

/input automatically jumps to the command line

2. Command line move cursor

Left move one character

Right moves one character

S+left or c+left move one word to the left

S+right or c+right move one word to the right

C+b or home moves to the beginning (begin)

C+e or end moves to the end (end)

3. Command line Delete

Backspace delete a character before the cursor

C+w Delete the previous word of the cursor

C+u Delete all characters re-enter

4. Cancellation

Esc

C+c Ctrl + C (Ancel)

5. Command line abbreviation (option-list)

TAB Auto-Refill command

C+d Show all commands that are automatically replenished

Up show command history longer equ to <c+p>

Down update equ to <c+n>

: Se+up jump directly to the command beginning with SE

: History View all previous commands

: History/View Search histories

Q:command Command Line window, in order to perform more complex commands

  

  

Vim Learning Record (ii) efficient editing (command line)

Related Article

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.