gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Expand-Region version 1.0.0


From: ELPA update
Subject: [GNU ELPA] Expand-Region version 1.0.0
Date: Fri, 20 Oct 2023 05:04:01 -0400

Version 1.0.0 of package Expand-Region has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Expand-Region describes itself as:

  ===========================================
  Increase selected region by semantic units.
  ===========================================

More at https://elpa.gnu.org/packages/expand-region.html

## Summary:

  Expand region increases the selected region by semantic units. Just keep
  pressing the key until it selects what you want.

  An example:

      (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.

  You can set it up like this:

      (require 'expand-region)
      (global-set-key (kbd "C-=") 'er/expand-region)

  There's also `er/contract-region` if you expand too far.

  ## Video

  You can [watch an intro to expand-region at Emacs 
Rocks](http://emacsrocks.com/e09.html).

  ## Language support

## Recent NEWS:

[Not available 🙁]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]