Reference Sheet by Alex Schroeder

Files, Buffers, Windows
C-x C-f Find file (“Open”)
C-x C-s Save buffer (“Save”)
C-x C-w Write file (“Save As…”)
C-x 2 Split window
C-x 1 Delete other windows (“Unsplit”)
C-x o Other window
C-x C-b Buffer menu
Search and replace
C-s Incremental search string forwards
C-r Incremental search string backwards
M-% Query replace string
C-M-s Incremental search regexp forwards
C-M-r Incremental search regexp backwards
C-M-% Query replace regexp
Lines
C-a Beginning of line
C-e End of line
C-k Kill line (“cut line”)
Words
M-b Backwards word
M-f Forwards word
M-d Kill word (“cut word”)
Balanced expressions such as “foo” or (foo)
C-M-b Backwards sexp
C-M-f Forwards sexp
C-M-k Kill sexp
Region (between mark and point)
C-SPC Set mark
C-w Kill region (“cut”)
M-w Copy region (“copy”)
Pasting, Undoing
C-y Yank (“paste”)
C-y M-y Yank older copy (M-y…)
C-_ Undo, anything else interrupts the undo chain
Rectangles
C-x r k Kill rectangle
C-x r y Yank rectangle

https://www.emacswiki.org/emacs/Reference_Sheet_by_Alex_Schroeder

Start the Discussion!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.