t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 112 forks source link

Uncaught Error: class 'ActivateInsertMode' not found #923

Closed jiantao closed 6 years ago

jiantao commented 7 years ago

[Enter steps to reproduce:]

  1. open a file
  2. in normal mode type 'i' into insert mode

Atom: 1.21.1 x64 Electron: 1.6.15 OS: Ubuntu 16.04.3 Thrown From: vim-mode-plus package 1.11.2

Stack Trace

Uncaught Error: class 'ActivateInsertMode' not found

At /home/jiantao/.atom/packages/vim-mode-plus/lib/base.js:353

Error: class 'ActivateInsertMode' not found
    at Function.getClass (/packages/vim-mode-plus/lib/base.js:353:11)
    at getClass (/packages/vim-mode-plus/lib/base.js:395:44)
    at /packages/vim-mode-plus/lib/base.js:400:49)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:381:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

Commands

     -0:58.9.0 application:open-file (atom-pane.pane.active)
  5x -0:19.5.0 vim-mode-plus:move-down (input.hidden-input)
     -0:18.3.0 vim-mode-plus:activate-insert-mode (input.hidden-input)

Non-Core Packages

ex-mode 0.18.0 
vim-mode-plus 1.11.2 
t9md commented 6 years ago

I have no idea. close-to-re-evaluate.