Skip to content

VimResolvedActionArgs

Unofficial

VimActionArgs as an action handler receives them, once the command dispatcher has resolved the repeat count.

Import:

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

Signature:

export interface VimResolvedActionArgs extends VimActionArgs

Extends: VimActionArgs

Properties

PropertyTypeDescription
after?booleanWhether the action takes effect after the cursor rather than before it.
(Inherited from VimActionArgs)
backtrack?booleanWhether the cursor steps back onto the last inserted character once the action completes.
(Inherited from VimActionArgs)
blockwise?booleanWhether the action treats the register contents as a visual block.
(Inherited from VimActionArgs)
direction?VimResizeDirectionWhich way a resize action changes the size of its target.
(Inherited from VimActionArgs)
forward?booleanWhether the action moves towards the end of the document.
(Inherited from VimActionArgs)
head?EditorPositionThe position the action starts from, when it does not start from the cursor.
(Inherited from VimActionArgs)
increase?booleanWhether a numeric action increments. false decrements.
(Inherited from VimActionArgs)
indentRight?booleanWhether an indent action adds indentation. false removes it.
(Inherited from VimActionArgs)
insertAt?VimInsertAtWhere the cursor is placed when the action enters insert mode.
(Inherited from VimActionArgs)
isEdit?booleanWhether the action counts as an edit, making it repeatable with ..
(Inherited from VimActionArgs)
keepSpaces?booleanWhether a join action preserves the whitespace between the joined lines.
(Inherited from VimActionArgs)
linewise?booleanWhether the action operates on whole lines rather than a character range.
(Inherited from VimActionArgs)
matchIndent?booleanWhether pasted text is re-indented to match the surrounding lines.
(Inherited from VimActionArgs)
position?VimScrollPositionWhere the cursor line is placed in the viewport, for scroll-positioning actions.
(Inherited from VimActionArgs)
registerName?stringThe register the action reads from or writes to. Defaults to the unnamed register.
(Inherited from VimActionArgs)
repeatnumberHow many times the action is applied. Always resolved to a concrete count before the handler runs.
repeat?numberHow many times the action is applied.
(Inherited from VimActionArgs)
repeatIsExplicit?booleanWhether the repeat count was typed by the user rather than defaulted.
(Inherited from VimActionArgs)
replace?booleanWhether the action replaces the existing text rather than inserting alongside it.
(Inherited from VimActionArgs)
selectedCharacter?stringThe character the action was given, for actions such as r that take one.
(Inherited from VimActionArgs)

Links to this page: