Install elpa-expand-region by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-expand-region
Description:
Increase selected region in Emacs by semantic units
Expand region increases the selected region by semantic units. Just keep pressing the 'C-=' key until it selects what you want. The notion of "semantic" is language-sensitive. . Example: editing . (setq alphabet-start "abc def") . With the cursor at the `c`, it starts by marking the entire word `abc`, then expand to the contents of the quotes `abc def`, then to the entire quote `"abc def"`, then to the contents of the sexp `setq alphabet-start "abc def"` and finally to the entire sexp.
Homepage: https://github.com/magnars/expand-region.el
Version: 0.11.0-2
Section: universe/editors