Selection Modes
Selection modes 1 dictates how core movements works.
There are roughly 3 categories of selection modes (not clear-cut):
Contiguity
Besides the categorization above, selection modes are also separated based on their contiguity.
A selection mode is considered contiguous, if there's no meaningful gap between each of the selections.
A gap is meaningful if it's neither whitespaces only nor separators like ,
or ;
.
The following selection modes are contiguous (exhaustive):
- Line
- Column
- Word
- Syntax Node
- Token
Footnotes
-
For Vim users, selection mode means text objects. ↩