Skip to content

Instantly share code, notes, and snippets.

@vakili
Last active May 4, 2021 10:09
Show Gist options
  • Save vakili/ea6a7dd0242b49ced353696a54abae79 to your computer and use it in GitHub Desktop.
Save vakili/ea6a7dd0242b49ced353696a54abae79 to your computer and use it in GitHub Desktop.
Spacemacs to Doom migration notes

Spacemacs to Doom migration notes

  • M x: (spacemacs: SPC SPC) replaced by SPC :.
  • Terminology: layers in spacemacs are called modules in doom.
  • Vim surround: (e.g. s)) d oes not work by default. See https://teddit.net/r/emacs/comments/e72m9j/evilsurround_shortcuts_in_doom_coming_from/ (But note: maybe use evil-embrace instead.)
  • Zoom: transient state (spacemacs: SPC z x) replaced by C + and C -.
  • Open scratch buffer: (spacemacs: SPC b s) replaced by SPC b x or SPC x for a minimized version, and SPC b X for full window.
  • Describe key: (spacemacs: SPC h d k) replaced by SPC h k.
  • SPC SPC now does projectile-find-file.
  • Alt-tabbing between buffers (spacemacs: SPC Tab) is not bound (?). I now use :bn and :bp.
  • Comment line: (spacemacs: SPC c l) replaced by gcc
  • visual-line-mode is on by default in doom, which is annoying e.g. when doing yy to yank a line. Toggled with SPC t w.
  • org-mode: the indentation in doom is soft, i.e. does not insert spaces in the file, only displays the text as indented. Takes getting used to but nice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment