VimLastSelectionRange
Unofficial
The previous visual selection, replayed by operators that reuse it, such as the one behind gv.
Import:
import type { VimLastSelectionRange } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface VimLastSelectionRangeProperties
| Property | Type | Description | |
|---|---|---|---|
| anchor | EditorPosition | The fixed end of the selection. | |
| head | EditorPosition | The moving end of the selection. | |
| visualBlock | boolean | Whether the selection was made in visual block mode. | |
| visualLine | boolean | Whether the selection was made in visual line mode. |
Links to this page: