Skip to content

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 VimLastSelectionRange

Properties

PropertyTypeDescription
anchorEditorPositionThe fixed end of the selection.
headEditorPositionThe moving end of the selection.
visualBlockbooleanWhether the selection was made in visual block mode.
visualLinebooleanWhether the selection was made in visual line mode.

Links to this page: