Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamiecook/120b683a9513a0076429b1141508b1ed to your computer and use it in GitHub Desktop.
Save jamiecook/120b683a9513a0076429b1141508b1ed to your computer and use it in GitHub Desktop.
Stuff ajmccluskey needs to remember about (Spac)emacs

General

  • Space f e d: Open Spacemacs config

  • Space f e R: Reload Spacemacs config (after editing)

  • Space Space: Search for command

  • (Ctrl H) k: find action for binding

  • Space b b: Open files

  • Space p f: Find file in project

  • Space p p: Switch Project

  • Space *: Search for word under cursor in project

  • F3: Convert helm search results to flycheck errors (so you can navigate them with Space e n)

  • auto-fill-mode enables hard wrapping

  • fill-column sets the column to wrap at

  • g q to format (applies wrapping if auto-fill-mode enabled)

  • Space t F toggles auto-fill-mode

  • 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>

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