VimOperatorKeyMapping
Unofficial
A key mapping that runs an operator, which transforms the range a following motion selects.
Import:
import type { VimOperatorKeyMapping } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface VimOperatorKeyMapping extends VimKeyMappingBaseExtends: VimKeyMappingBase
Properties
| Property | Type | Description | |
|---|---|---|---|
| context? | VimKeyMappingContext | The mode this mapping applies in. Omitted means it applies in every mode. (Inherited from VimKeyMappingBase) | |
| exitVisualBlock? | boolean | Whether running the command leaves visual block mode. (Inherited from VimKeyMappingBase) | |
| expectLiteralNext? | boolean | Whether the next key typed is taken literally rather than matched against further mappings. (Inherited from VimKeyMappingBase) | |
| interlaceInsertRepeat? | boolean | Whether repeating the command in insert mode interleaves it with the recorded keystrokes. (Inherited from VimKeyMappingBase) | |
| isEdit? | boolean | Whether the command counts as an edit, making it repeatable with ..(Inherited from VimKeyMappingBase) | |
| keys | string | The key sequence that triggers this mapping. (Inherited from VimKeyMappingBase) | |
| noremap? | boolean | Whether the mapping refuses to be remapped further. (Inherited from VimKeyMappingBase) | |
| operator | string | The name the operator was registered under. | |
| operatorArgs? | VimOperatorArgs | The arguments passed to the operator. | |
| repeatOverride? | number | A repeat count that overrides whatever the user typed. (Inherited from VimKeyMappingBase) | |
| type | 'operator' | Discriminates this mapping as an operator. |