Skip to content

VimOperatorFn

Unofficial

Implements an operator, transforming the text a motion selected. The ranges it is given are the stretches of text to operate on; returning a position moves the cursor there once the operation finishes, and returning nothing leaves the cursor where the operator put it.

Import:

import type { VimOperatorFn } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface VimOperatorFn