Skip to content

Instantly share code, notes, and snippets.

@agonzalezro
Last active December 10, 2021 16:39
Show Gist options
  • Select an option

  • Save agonzalezro/1bf818c2db629d7cce0b to your computer and use it in GitHub Desktop.

Select an option

Save agonzalezro/1bf818c2db629d7cce0b to your computer and use it in GitHub Desktop.
Interesting spacemacs keys that I should remember
  • SPC h
  • SPC ?: search keybinding
  • SPC f e h: help about current layer
  • SPC T h: themes
  • SPC m g g: go to definition
  • SPC m t [p|P|s|t]: run tests
  • SPC a k: launch paradox (package manager)
  • SPC t -: lock the cursor at the center of the screen
  • SPC SPC a: avy word search
  • SPC w =: balance split windows
  • SPC w -: horizontal split
  • SPC w /: vertical split
  • SPC t g: toggle golden ratio (auto resize of windows)
  • SPC TAB: choose prev buffer
  • SPC b h: buffer list
  • SPC f t: open neotree (| and - to open in splits)
  • SPC p t: DITTO but in the project dir
  • SPC s [a|g|k|t] b: search using different tools
  • SPC s c: clear search. I tend to use /asdasdadfsd
  • SPC x ...: text related stuff. Ex: wc is going to do wod analysis
  • SPC : dotspacemacs-smartparens-strict-mode: strict mode for smart parents
  • SPC ;: {,un}comment
  • SPC p !: run command in project
  • SPC p a: choose between tests and code file
  • SPC p c: compile project using projectile // no idea how to use this yet
  • SPC c C: compile using your own command
  • SPC c r: recompile
  • SPC j =: auto indent whole file
  • C-x C-v: reload current file from your local copy.
  • C-x arrows: move between buffers.
  • Shift-Tab: fold sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment