Emacs: Highlight Brackets

show-paren-mode
, highlight brackets
- Alt+x
show-paren-mode
-
Highlight matching brackets when cursor is on a bracket.
Tip: Exactly which characters are considered matching brackets depends on the buffer's Syntax Table, which usually is set by current Major Mode . For example, in emacs-lisp-mode, the curly brackets {} are not considered matching pairs, thus not highlighted.
put this in your Emacs Init File:
;; highlight matching paren (show-paren-mode 1)
Styles of Show Matching Paren
put this in your Emacs Init File:
;; highlight brackets (setq show-paren-style 'parenthesis)
;; highlight entire expression (setq show-paren-style 'expression)
;; highlight brackets if visible, else entire expression (setq show-paren-style 'mixed)
Emacs, Work with Brackets
- Emacs: Highlight Brackets
- Emacs: electric-pair-mode (Auto Insert Closing Bracket)
- Emacs: Insert Brackets by Pair 🚀
- Emacs: Delete Brackets by Pair 🚀
- Emacs: Move Cursor to Bracket 🚀
- Emacs: Jump to Matching Bracket 🚀
- Emacs: Change Brackets/Quotes 🚀
- Emacs: Navigate Lisp Code as Tree
- Emacs: Select Line, between Quotes, Extend Selection 🚀
- Emacs: Xah Elisp Mode (xah-elisp-mode.el)