Install elpa-paredit by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-paredit
Description:
Emacs minor mode for structurally editing Lisp code
Paredit mode instruments several common keybindings to automatically balance all parentheses and respect the structure of S-expressions; it also provides numerous high-level operations to change the structure of lists.
Homepage: http://mumble.net/~campbell/emacs/paredit.el
Version: 24-1
Section: universe/lisp