Skip to content

Instantly share code, notes, and snippets.

@yurifrl
Last active January 25, 2023 21:48
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yurifrl/eb7894751ba60adbc5d314cb97ac87a7 to your computer and use it in GitHub Desktop.
Save yurifrl/eb7894751ba60adbc5d314cb97ac87a7 to your computer and use it in GitHub Desktop.
Emacs Evil-Mode Cheat Sheet

Emacs Evil-Mode Cheat Sheet

Workflow

  • Open emacs, Use terminal with tmux for shell things, use emacs to file processing

Base

  • `C-x`, `SPC` Shortcuts
  • `M-x`, `S-:` Commands

Commands

  • dired
  • ibuffer
    • a
    • find-dotfile
    • dotspacemas/sync-configuration
      • comment-region

Tmux

  • `C-b` lead key
  • `C-b c` open new window
  • `C left` move to window on the left
  • `C right` move to window on the right
  • `C-S left` move window left
  • `C-S right` move window right

Inside “term”

  • `C-c` cancels comand and go to next line
  • `C-x b` Open helm buffer list

Shortcuts

  • `SPC p h` vim Ctrl+P
  • `SPC h l` Search for available Layers, RET to show details
  • `SPC b d` Close buffer
  • `SPC f e d` Find config
  • `SPC f e R` Reload config
  • `C-g` Close minibuffer
  • `C-x b` Lista buffers
  • `SPC b b` Lista buffers helm
  • `C-x C-f` Busca arquivos
  • `C-x C-s` Salva
  • `C-x 0` Fecha buffer
  • `C-x 1` Maximiza buffer
  • `SPC-b-n` Next buffer
  • `SPC-b-p` Previous buffer
  • `C-x k` kill buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment