VimSelection
Unofficial
The selection Vim is maintaining, which differs from the editor’s own selection because Vim’s is inclusive of the character under the cursor.
Import:
import type { VimSelection } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface VimSelectionProperties
| Property | Type | Description | |
|---|---|---|---|
| anchor | EditorPosition | The fixed end of the selection. | |
| head | EditorPosition | The moving end of the selection, where the cursor is. |
Links to this page: