Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 491 Bytes

File metadata and controls

20 lines (18 loc) · 491 Bytes

Emacs shortcuts

open emacs editor: emacs -nw

  1. create a new file: C-x C-f
  2. open a file: C-x f
  3. save a file: C-x C-s
  4. split the screen: C-x 2
  5. switch buffers: C-x b
  6. move between split windows: C-x o
  7. close current window: C-x 0
  8. suspend Emacs: C-z
  9. fg: return Emacs
  10. cancel a command: C-g
  11. mark set: C-space (the language mode should be English, not Chinese)
  12. copy: M-w
  13. cut: C-w
  14. paste: C-y
  15. move the cursor:
    • By line: C-a to start, C-e to end