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