Skip to content

Instantly share code, notes, and snippets.

@mrpatrick
Last active April 9, 2017 10:18
Show Gist options
  • Save mrpatrick/2431736 to your computer and use it in GitHub Desktop.
Save mrpatrick/2431736 to your computer and use it in GitHub Desktop.
emacs cheat sheet
C-x r t - insert char on entire selection
M-$ - flyspell the word the cursor is on (or near)
M-v - page up
X-m - smerge-mode (syntax highlight git merge conflicts)
(set-face-attribute 'default nil :height 100) - increase font size
prepend string - entire region
`M-x string-insert-rectangle RET`
append string - entire region - $ matches end of line
`M-x replace-regexp RET $`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment