MCPcopy
hub / github.com/VSCodeVim/Vim / IModeHandler

Interface IModeHandler

src/transformations/execute.ts:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28import { Transformer } from './transformer';
29
30export interface IModeHandler {
31 vimState: VimState;
32 lastMovementFailed: boolean;
33
34 updateView(args?: { drawSelection: boolean; revealRange: boolean }): void;
35 runMacro(recordedMacro: RecordedState): Promise<void>;
36 handleMultipleKeyEvents(keys: string[]): Promise<void>;
37 handleKeyEvent(key: string): Promise<void>;
38 rerunRecordedState(transformation: Dot): Promise<void>;
39}
40
41export async function executeTransformations(
42 modeHandler: IModeHandler,

Callers 21

getAndUpdateModeHandlerFunction · 0.65
activateFunction · 0.65
handleRemappingMethod · 0.65
executeTransformationsFunction · 0.65
activateFunction · 0.65
testItFunction · 0.65
testItWithRemapsFunction · 0.65
marks.test.tsFile · 0.65
setupTestWithLinesFunction · 0.65
insertLine.test.tsFile · 0.65
modeVisual.test.tsFile · 0.65

Implementers 1

ModeHandlersrc/mode/modeHandler.ts

Calls

no outgoing calls

Tested by

no test coverage detected