Skip to content

Emacs Shortcuts from Other Packages

NameShortcuts
Search projectprojectile-ripgrep
ripgrep results - display menum
ripgrep results - new regexr
NameShortcuts
Action key, follow buttonM-Enter or hui-hbut-act
Action key, hkey-either{M-RET} (ESC RETURN, ALT-RETURN, or CMD-RETURN) or SHIFT-MIDDLE-MOUSE
NameShortcuts
Insert new list item of same level immediatelyM-Enter
NameShortcuts
Open treemacsM-x treemacs
Edit WorkspacesM-x treemacs-edit-workspaces
NameShortcuts
Invalidate cachesC-c p i
Invalidate caches - Such as on Windows when file cache is out of dateprojectile-invalidate-cache
Test project using unit testsM-x projectile-test-project or C-c p P
NameShortcuts
Run Python shellM-x run-python
Run region in Python shellM-x python-shell-send-region
Run buffer/file in Python shellM-x python-shell-send-buffer / M-x python-shell-send-file
NameShortcuts
Start debuggingM-x dap-debug
Set breakpointM-x dap-breakpoint-toggle
Run REPL to see values during debuggingM-x dap-ui-repl
NameShortcuts
Align columns on a fixed widthcsv-align-mode
Shorten long linestoggle-truncate-lines
NameShortcuts
Expand regionC-=
Expand region: contract, resetC-= then -, 0
Mark email, paragraph, symbol, …er/mark-…
NameShortcuts
Show imenu / outline side barimenu-list-smart-toggle

Tips from Avy can do anything

NameShortcuts
Go to charavy-goto-char, avy-goto-char2
Go to char/wordavy-goto-char-timer
Action menu before jump?
  • timer means type chars quickly to match
NameShortcut
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

NameShortcut
Consult Buffer (switch buffer)SPC < (Doom Emacs)
NameShortcut
Visualize the undo treevundo or SPC s u (Doom Emacs)

Begin type snippet with its short form like:

  • <…
  • __
  • abbreviation