Emacs Shortcut Key Learning (i)--linux most powerful editor

Source: Internet
Author: User

Emacs is a very powerful editor. The common shortcut keys are summarized as follows:

Exit Emacs:ctrl+x Ctrl + C

Move to next screen: Ctrl + V

Move to previous screen: Alt+v

Move the line of the cursor to the middle of the screen: ctrl+l

Move the cursor to the previous line: Ctrl+p (previous)

Move the cursor to the next line: Ctrl + N (next)

Move the cursor right: ctrl+f (forward)

Move cursor Left: ctrl+b (backward)

Move the cursor to the next word: alt+f (forward) for Chinese documents, move to the next punctuation mark

Move the cursor to the previous word: alt+b (backward) for Chinese documents move to previous punctuation

Move the cursor to one line of head: Ctrl + A

Move the cursor to the end of a line: Ctrl+e

To move the cursor to a sentence head: alt+a

Move the cursor to the end of a sentence: Alt+e


At this point we can think of the difference between CTRL and ALT: CTRL is generally used to manipulate language-independent basic units such as lines, characters, etc. alt is generally used to manipulate units defined by language such as words, sentences, paragraphs, etc.


Move the cursor to the beginning of all text:ctrl+<

Move the cursor to the very end of all text:ctrl+>


Numeric parameters:

Specify a method to repeat several times for a command, enter Ctrl+u First, enter a number, and then enter the command. Such as:

Ctrl+u 3 CTRL + N the cursor will move down 3 lines

Cancel the half-output command: ctrl+g

Turn off the extra panes: ctrl+x 1 (Keep the current pane only)


Emacs Shortcut Key Learning (i)--linux most powerful editor

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.