VimKeyMappingBase
Unofficial
The fields every Vim key mapping carries, whatever kind of command it binds to.
Import:
import type { VimKeyMappingBase } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface VimKeyMappingBaseProperties
| Property | Type | Description | |
|---|---|---|---|
| context? | VimKeyMappingContext | The mode this mapping applies in. Omitted means it applies in every mode. | |
| exitVisualBlock? | boolean | Whether running the command leaves visual block mode. | |
| expectLiteralNext? | boolean | Whether the next key typed is taken literally rather than matched against further mappings. | |
| interlaceInsertRepeat? | boolean | Whether repeating the command in insert mode interleaves it with the recorded keystrokes. | |
| isEdit? | boolean | Whether the command counts as an edit, making it repeatable with .. | |
| keys | string | The key sequence that triggers this mapping. | |
| noremap? | boolean | Whether the mapping refuses to be remapped further. | |
| repeatOverride? | number | A repeat count that overrides whatever the user typed. |
Links to this page: