Skip to content

VimResolvedMotionArgs

Unofficial

VimMotionArgs as a motion handler receives them, once the command dispatcher has resolved the repeat count.

Import:

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

Signature:

export interface VimResolvedMotionArgs extends VimMotionArgs

Extends: VimMotionArgs

Properties

PropertyTypeDescription
bigWord?booleanWhether the motion operates on WORDs (whitespace-delimited) rather than words.
(Inherited from VimMotionArgs)
explicitRepeat?booleanWhether the motion consumes a repeat count typed before it.
(Inherited from VimMotionArgs)
forward?booleanWhether the motion moves towards the end of the document.
(Inherited from VimMotionArgs)
inclusive?booleanWhether the character under the resulting cursor position is part of the motion's range.
(Inherited from VimMotionArgs)
linewise?booleanWhether the motion covers whole lines rather than a character range.
(Inherited from VimMotionArgs)
noRepeat?booleanWhether the motion refuses to be repeated by a count.
(Inherited from VimMotionArgs)
repeatnumberHow many times the motion is applied. Always resolved to a concrete count before the handler runs.
repeat?numberHow many times the motion is applied.
(Inherited from VimMotionArgs)
repeatIsExplicit?booleanWhether the repeat count was typed by the user rather than defaulted.
(Inherited from VimMotionArgs)
repeatOffset?numberOffset applied to the repeat count before the motion runs.
(Inherited from VimMotionArgs)
sameLine?booleanWhether the motion is confined to the line it started on.
(Inherited from VimMotionArgs)
selectedCharacter?stringThe character the motion searches for, for character-search motions such as f and t.
(Inherited from VimMotionArgs)
textObjectInner?booleanWhether a text-object motion selects the inner range, excluding its delimiters.
(Inherited from VimMotionArgs)
toFirstChar?booleanWhether the motion lands on the first non-whitespace character of the target line.
(Inherited from VimMotionArgs)
toJumplist?booleanWhether the position the motion started from is pushed onto the jump list.
(Inherited from VimMotionArgs)
wordEnd?booleanWhether a word motion lands on the end of the word rather than its start.
(Inherited from VimMotionArgs)

Links to this page: