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

Function repeatCommand

lib/web/CodeMirror/keymap/vim.js:5628–5634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5626 var isAction = !!vim.lastEditActionCommand;
5627 var cachedInputState = vim.inputState;
5628 function repeatCommand() {
5629 if (isAction) {
5630 commandDispatcher.processAction(cm, vim, vim.lastEditActionCommand);
5631 } else {
5632 commandDispatcher.evalInput(cm, vim);
5633 }
5634 }
5635 function repeatInsert(repeat) {
5636 if (macroModeState.lastInsertModeChanges.changes.length > 0) {
5637 // For some reason, repeat cw in desktop VIM does not repeat

Callers 1

repeatLastEditFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected