MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / logKey

Function logKey

lib/web/CodeMirror/keymap/vim.js:5441–5448  ·  view source on GitHub ↗
(macroModeState, key)

Source from the content-addressed store, hash-verified

5439 }
5440
5441 function logKey(macroModeState, key) {
5442 if (macroModeState.isPlaying) { return; }
5443 var registerName = macroModeState.latestRegister;
5444 var register = vimGlobalState.registerController.getRegister(registerName);
5445 if (register) {
5446 register.pushText(key);
5447 }
5448 }
5449
5450 function logInsertModeChange(macroModeState) {
5451 if (macroModeState.isPlaying) { return; }

Callers 1

handleMacroRecordingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected