Skip to content

Instantly share code, notes, and snippets.

@kimh
Last active December 8, 2017 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimh/10ca0771425cbbb02c976238fc5f0ac0 to your computer and use it in GitHub Desktop.
Save kimh/10ca0771425cbbb02c976238fc5f0ac0 to your computer and use it in GitHub Desktop.
spacemacs-cheetsheet.md

Open .spacemacs

SPC f e d

Fix unbalanced paren

C-q ;; insert

;; I don't know how to delete unbalanced paren

C-M-b paredit-backward

C-M-f paredit-forward

Comment sexp

Mark sexp with v a ( and M; # M is option key

Undo comment

Mark sexp and and M;

Centoring buffer

SPC w c

Select a text within double-quote (this is more Vim stuff than Spacemacs)

v a " v i "

Yank a text within double-quote (this is more Vim stuff than Spacemacs)

y a " y i "

Maximize a splitted pane

SPC w m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment