Skip to content

Selection Utilities ​

Selection Utilities provides a series of utilities for manipulating, saving and creating both single and multiple selections, many of which are inspired by Kakoune.

To start learning and using Selection Utilities you can use Master Key, as Selection Utilities was designed as a modular component to support Master Key. Master Key has extensive features that make these commands easily discoverable.

Because there are so many commands, and any given set of keybindings for this extension could easily overwrite existing bindings, there are no default keybindings; if you do not want to use this extension via Master Key, you will need to learn about the commands you want to use and then customize them yourself for your own purpose.

Commands ​

The following commands are available in Selection Utilities:

Active Cursor Motions ​

Active cursor motions change the position of the cursor. The location of the cursor in a selection is called the active end of the selection, while the other end of the selection is called the anchor.

Multiselection Primitives ​

These commands modify the number of selections, usually in reference to the primary selection, which is colored differently than the other selections. Focus is generally moved with this primary selection.

Selection Filters ​

Selection Editing ​

These commands tweak or modify what is selected.

Selection Contexts ​

Contexts that report properties of selected text and clipboard text.

Unit Motions ​

Moves or selects text according to a unit. Units are defined by one or more regular expressions.

Selection Alignment ​

Number Editing ​

These commands increment or decrement a number in a selection.

Symmetric Editing ​

These commands modify text or the selection at both ends of the current selections.