Emacs: How to Edit Lisp Code
This page shows you how to edit lisp code with plain emacs efficiently.
Highlight Brackets: show-paren-mode
Insert Brackets by Pair
You should ALWAYS insert brackets by pair.
Delete Brackets by Pair
You should ALWAYS delete brackets by pair.
Move Cursor to Bracket
It's critical to have keys that move cursor to previous opening bracket and next closing bracket.
Navigate Lisp Code as Tree
You can move cursor to brackets in such way as navigating a tree.
This is less useful than the freely moving to any bracket.
Select Lisp Expression by Unit
mark-sexp 【Ctrl+Alt+Space】 to select a complete parenthesized expression. Your cursor must be on the left bracket.
To select a complete sexp, type 【Ctrl+Alt+↑】
Emacs Lisp Basics
Patreon me $5. Ask me question on patreon