Atom: 1.22.1 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Enterprise
Thrown From: vim-mode-plus package 1.15.0
Stack Trace
Uncaught TypeError: Cannot read property 'uniq' of undefined
At C:\Users\notactualbear\.atom\packages\vim-mode-plus\lib\search-history-manager.js:21
TypeError: Cannot read property 'uniq' of undefined
at SearchHistoryManager.save (/packages/vim-mode-plus/lib/search-history-manager.js:21:58)
at Search.moveCursor (/packages/vim-mode-plus/lib/motion-search.js:117:37)
at Search.moveWithSaveJump (/packages/vim-mode-plus/lib/motion.js:75:12)
at Search.execute (/packages/vim-mode-plus/lib/motion.js:89:16)
at OperationStack.execute (/packages/vim-mode-plus/lib/operation-stack.js:193:33)
at OperationStack.process (/packages/vim-mode-plus/lib/operation-stack.js:186:12)
at Search.processOperation (/packages/vim-mode-plus/lib/base.js:156:36)
at Search.handleConfirmSearch (/packages/vim-mode-plus/lib/motion-search.js:241:12)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at SearchInput.confirm (/packages/vim-mode-plus/lib/search-input.js:154:18)
at /packages/vim-mode-plus/lib/search-input.js:60:34)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.22.1/resources/app/src/command-registry.js:381:36)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.22.1/resources/app/src/window-event-handler.js:100:42)
at HTMLDocument.<anonymous> (~/AppData/Local/atom/app-1.22.1/resources/app/src/window-event-handler.js:3:65)
vmp version is too old, first upgrade it to the latest.
I believe you can't reproduce it with latest version, if you can, please put steps how-to-repro-info here.
Check list
You have to check all before open issue.
This is a bug.
Just a bug fix.
In normal mode, type "/". Enter search string and press "Enter". Error shows.
atom --version
), vim-mode-plus version, and OS version(e.g. macOS Sierra 10.12.3).Atom : 1.22.1 Electron: 1.6.15 Chrome : 56.0.2924.87 Node : 7.4.0
Not key binding issue.
The Error
Atom: 1.22.1 x64 Electron: 1.6.15 OS: Microsoft Windows 10 Enterprise Thrown From: vim-mode-plus package 1.15.0
Stack Trace
Uncaught TypeError: Cannot read property 'uniq' of undefined
Commands
Non-Core Packages