Skip to content

Instantly share code, notes, and snippets.

@ajmcmiddlin
Last active July 18, 2017 00:36
Show Gist options
  • Save ajmcmiddlin/34a9ee5c100aa2b6568ab52c12bf2931 to your computer and use it in GitHub Desktop.
Save ajmcmiddlin/34a9ee5c100aa2b6568ab52c12bf2931 to your computer and use it in GitHub Desktop.
Stuff ajmccluskey needs to remember about (Spac)emacs

General

  • Space *: Search for word under cursor
  • Space t F toggles auto-fill-mode, which enables hard wrapping
  • C-x f calls set-fill-column - sets the column to wrap at
  • g q to format (applies wrapping if auto-fill-mode enabled)
  • Space s c clears search term
  • * e edit word under cursor and change all in file/display (depending on mode)
  • Space f y echo and yank filename for current buffer
  • Space w . enters a mini-mode for editing windows - good for keyboard resizing and rearranging
  • v i <char> selects everything between surrounding character
  • t <char> like f but move forward to next character before <char>
  • Space C-i jump forward (like C-i in Vim)

Intero

  • Space u C-c C-t inserts type of thing under cursor above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment