Skip to content

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-public-latest';

Signature:

export interface VimSelection

Properties

PropertyTypeDescription
anchorEditorPositionThe fixed end of the selection.
headEditorPositionThe moving end of the selection, where the cursor is.

Links to this page: