Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (47 sloc) 1.16 KB

Emacs

GNU Emacs Reference Card

Control-based sorted by keyboard layout

  • C-q : quoted-insert
  • C-w : kill-region
  • C-e : end-of-line
  • C-r : isearch-backward
  • C-t : transpose-chars
  • C-y : yank
  • C-u : universal-argument
  • C-i : free
  • C-o : open-line
  • C-p : previous-line
  • C-[ :
  • C-] : abort-recursive-edit
  • C-| :

  • C-a : beginning-of-line
  • C-s : isearch-forward
  • C-d : kill-character-forward
  • C-f : forward-char
  • C-g : keyboard-quit
  • C-h : help-command / kill-character-backward
  • C-j : newline-and-indent
  • C-k : kill-whole-line
  • C-l : recenter
  • C-; : free
  • C-' :

  • C-z : suspend-emacs / iconify-or-deiconify-frame
  • C-x :
  • C-c :
  • C-v : scroll-up
  • C-n : next-line
  • C-m :
  • C-, :
  • C-. :
  • C-/ : undo

"But I don't use emacs anymore..."

Evaluating expressions and buffers

  • evaluate expression: c-x c-e
  • some people will bind eval-buffer, e.g. c-x E
  • (Atom) Install script
    • bind c-x c-e to Script: Run
    • Script: Run will evaluate a selection or the entire buffer
    • c-g will still close that window
    • remember that