()
| 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 |