Common Emacs commands

Source: Internet
Author: User

C Indicates the control key.
M indicates ALT, ESC, Meta, etc.

 

C-x C-C Exit

 

Cursor control

The next C-V screen is similar to Pagedown.
The screen on M-V is similar to Pageup

C-l re-paint the screen, with the cursor in the center of the screen

Last line C-P
.
Move C-B left... cursor... Move C-F right
.
Next line C-n

Move Between words. Move Chinese to the next punctuation mark.
M-F move a word forward
Move a word after M-B

C-a move the line head with the cursor
C-e move the cursor at the end of the row

M-
End of m-e

M-} move the cursor forward a paragraph
M-{move a paragraph behind the cursor

M-<full text starts, similar to home
M-> end of the full text, similar to end

Number of times the c-u/m-numeric command is repeated

 

C-G termination command

 

 

Pane
C-x 1 pane

Copy and cut
M-W Replication
C-W cut and delete

 

Insert and delete
C-d/delete Delete the character before the cursor

M-D/m-delete remove a word before the cursor

C-k removes a word from the cursor to the end of the line
M-K removes characters from the cursor to the end of a sentence

 

Block operation
C-@ mark the start of the block
C-W removed from the text marked to the cursor
C-y recall removed content
C-x C-P mark full text

 

Undo
C-x u undo

 

File
C-x C-F looks for a file
C-x C-s save
C-x C-f foo: create a file named Foo.

C-x C-B list the buffer
C-x B open a buffer File

C-x s Stores multiple Buffers

Search
C-s forward search
C-r Backward Search

 

Replace
M-% find and replace

Screen Separation
C-x 2 split up/down screen
C-m-V scroll down another Screen
C-m-shift-V scroll up to another Screen
C-x O move to another pane
C-x ^ Add the current pane
C-x} widening window
C-X {zoom out window

C-x 5 2 create a form
C-x 5 0 Delete form
C-x 5 R is opened in read-only mode.

 

Others
M -! Run Unix Commands
M-x calendar display calendar (. move to today C-F move forward one day C-B Move back one day C-n move forward one week C-P move back one week ESC} move forward one month ESC {move back one month ESC a move month start ESC e. Move to the end of the month ESC <start ESC> end of the year a shows holidays)

. Diary file, create a diary (I d insert a diary)

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.