Skip to content

Emacs Shortcuts from Other Packages

Name Shortcuts
Search project projectile-ripgrep
ripgrep results - display menu m
ripgrep results - new regex r
Name Shortcuts
Action key, follow button M-Enter or hui-hbut-act
Action key, hkey-either {M-RET} (ESC RETURN, ALT-RETURN, or CMD-RETURN) or SHIFT-MIDDLE-MOUSE
Name Shortcuts
Insert new list item of same level immediately M-Enter
Name Shortcuts
Open treemacs M-x treemacs
Edit Workspaces M-x treemacs-edit-workspaces
Name Shortcuts
Invalidate caches C-c p i
Invalidate caches - Such as on Windows when file cache is out of date projectile-invalidate-cache
Test project using unit tests M-x projectile-test-project or C-c p P
Name Shortcuts
Run Python shell M-x run-python
Run region in Python shell M-x python-shell-send-region
Run buffer/file in Python shell M-x python-shell-send-buffer / M-x python-shell-send-file
Name Shortcuts
Start debugging M-x dap-debug
Set breakpoint M-x dap-breakpoint-toggle
Run REPL to see values during debugging M-x dap-ui-repl
Name Shortcuts
Align columns on a fixed width csv-align-mode
Shorten long lines toggle-truncate-lines
Name Shortcuts
Expand region C-=
Expand region: contract, reset C-= then -, 0
Mark email, paragraph, symbol, … er/mark-…
Name Shortcuts
Show imenu / outline side bar imenu-list-smart-toggle

Tips from Avy can do anything

Name Shortcuts
Go to char avy-goto-char, avy-goto-char2
Go to char/word avy-goto-char-timer
Action menu before jump ?
  • timer means type chars quickly to match
Name Shortcut
Embark Act (Context menu) SPC a (Doom Emacs)

Using with ripgrep:

Combine with consult-rg and embark-export (C-c C-e)

Use to navigate file like consult-line, consult-ripgrep, consult-fd

Name Shortcut
Consult Buffer (switch buffer) SPC < (Doom Emacs)
Name Shortcut
Visualize the undo tree vundo or SPC s u (Doom Emacs)

Begin type snippet with its short form like:

  • <…
  • __
  • abbreviation