MCPcopy Index your code
hub / github.com/VSCodeVim/Vim / handleKeyEvent

Method handleKeyEvent

src/mode/modeHandler.ts:424–428  ·  view source on GitHub ↗
(keyRaw: string)

Source from the content-addressed store, hash-verified

422 }
423
424 public async handleKeyEvent(keyRaw: string): Promise<void> {
425 const key =
426 isLiteralMode(this.currentMode) || this.vimState.isReplayingMacro ? keyRaw : remapKey(keyRaw);
427 return this.handleKeyEventLangmapped(key);
428 }
429
430 private async handleKeyEventLangmapped(key: string): Promise<void> {
431 if (this.remapState.forceStopRecursiveRemapping) {

Callers 1

Calls 3

isLiteralModeFunction · 0.90
remapKeyFunction · 0.90

Tested by

no test coverage detected