()
| 14319 | var isAction = !!vim.lastEditActionCommand; |
| 14320 | var cachedInputState = vim.inputState; |
| 14321 | function repeatCommand() { |
| 14322 | if (isAction) { |
| 14323 | commandDispatcher.processAction(cm, vim, vim.lastEditActionCommand); |
| 14324 | } else { |
| 14325 | commandDispatcher.evalInput(cm, vim); |
| 14326 | } |
| 14327 | } |
| 14328 | function repeatInsert(repeat) { |
| 14329 | if (macroModeState.lastInsertModeChanges.changes.length > 0) { |
| 14330 | // For some reason, repeat cw in desktop VIM does not repeat |