Skip to content

VimOperatorMotionKeyMapping

Unofficial

A key mapping that pairs an operator with its motion in one binding, as dd and yy do.

Import:

import type { VimOperatorMotionKeyMapping } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface VimOperatorMotionKeyMapping extends VimKeyMappingBase

Extends: VimKeyMappingBase

Properties

PropertyTypeDescription
context?VimKeyMappingContextThe mode this mapping applies in. Omitted means it applies in every mode.
(Inherited from VimKeyMappingBase)
exitVisualBlock?booleanWhether running the command leaves visual block mode.
(Inherited from VimKeyMappingBase)
expectLiteralNext?booleanWhether the next key typed is taken literally rather than matched against further mappings.
(Inherited from VimKeyMappingBase)
interlaceInsertRepeat?booleanWhether repeating the command in insert mode interleaves it with the recorded keystrokes.
(Inherited from VimKeyMappingBase)
isEdit?booleanWhether the command counts as an edit, making it repeatable with ..
(Inherited from VimKeyMappingBase)
keysstringThe key sequence that triggers this mapping.
(Inherited from VimKeyMappingBase)
motionstringThe name the motion was registered under.
motionArgs?VimMotionArgsThe arguments passed to the motion.
noremap?booleanWhether the mapping refuses to be remapped further.
(Inherited from VimKeyMappingBase)
operatorstringThe name the operator was registered under.
operatorArgs?VimOperatorArgsThe arguments passed to the operator.
operatorMotionArgs?VimOperatorMotionArgsThe arguments applied to the pairing itself.
repeatOverride?numberA repeat count that overrides whatever the user typed.
(Inherited from VimKeyMappingBase)
type'operatorMotion'Discriminates this mapping as an operator-motion pair.