W1072 Emacs Power User

From Coder Merlin
Revision as of 11:18, 31 July 2020 by Chukwuemeka-tinashe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

After you've become more familiar with emacs, here are some shortcuts that you may find helpful.

Building and Running (Merlin Extensions)[edit]

Key Sequence Purpose
F5 a Async Shell Command
F5 b Build
F5 c Compile (similar to build but enables links to errors)
F5 r Build and Run
F5 s Shell command
F5 w Switch to compilation window

Language Services (Merlin Extensions)[edit]

Key Sequence Purpose
F6 a Apply action
F6 c Comment region
F6 d Find definition
F6 e List errors
F6 n Next error
F6 p Previous error
F6 r List references
F6 u Uncomment region
F6 w Describe what is at point
Shift-Tab List completion candidates
ALT-x lsp-restart-workspace Restart LSP
ALT-x lsp-describe-session Describes the current LSP session
ALT-x lsp-workspace-folders-remove project-root Remove project-root from the list of workspace folders
ALT-x lsp-workspace-folders-add project-root Add project-root to the list of workspace folders