Edit file
emacs filename
Save file
^x^s
Exit EMACS
^x^c
Open another file
^x^f
‘f’ for “find file”
Switch buffers
^x b
Move forward(right)
^f
Move backward (left)
^b
Move to previous line (up)
^p
Move to next line(down)
^n
Move to beginning of file
M
Move to end of file
M >
Page down
^v
Page up
Mv
Delete line
^k
Select region of text
^[space]
Copy selected region
Mw
Cut selected region
^w
Paste selected region
^y