{"action":"created","issue":{"url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/174","repository_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus","labels_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/174/comments","events_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/174/events","html_url":"https://github.com/t9md/atom-vim-mode-plus/issues/174","id":136912579,"number":174,"title":"Peektop error","user":{"login":"jordwalke","id":977348,"avatar_url":"https://avatars.githubusercontent.com/u/977348?v=3","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/labels/more-information-needed","name":"more-information-needed","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-27T12:21:22Z","updated_at":"2016-02-28T04:56:08Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. simply hit `/` to search\r\n2. ...\r\n\r\n**Atom Version**: 1.6.0-beta4\r\n**System**: Mac OS X 10.10.3\r\n**Thrown From**: [vim-mode-plus](https://github.com/t9md/atom-vim-mode-plus) package, v0.21.3\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: this.peekTop(...).setTarget is not a function\r\n\r\n```\r\nAt /Users/me/.atom/packages/vim-mode-plus/lib/operation-stack.coffee:45\r\n\r\nTypeError: this.peekTop(...).setTarget is not a function\r\n  at OperationStack.process (/Users/me/.atom/packages/vim-mode-plus/lib/operation-stack.coffee:57:20)\r\n  at OperationStack.run (/Users/me/.atom/packages/vim-mode-plus/lib/operation-stack.coffee:37:8)\r\n  at run (/Users/me/.atom/packages/vim-mode-plus/lib/base.coffee:13:29)\r\n  at atom-text-editor.<anonymous> (/Users/me/.atom/packages/vim-mode-plus/lib/base.coffee:200:65)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n  at __bind (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:3:61)\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:544:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:363:22)\r\n  at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)\r\n  at HTMLDocument.__bind (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  8x -0:24.7.0 blur (input.hidden-input)\r\n     -0:22.3.0 pane:show-previous-item (input.hidden-input)\r\n  3x -0:22.2.0 blur (input.hidden-input)\r\n     -0:22 pane:show-previous-item (input.hidden-input)\r\n  3x -0:22 blur (input.hidden-input)\r\n 30x -0:20.1.0 vim-mode-plus:move-up (input.hidden-input)\r\n     -0:19.2.0 vim-mode-plus:search (input.hidden-input)\r\n  5x -0:19.2.0 blur (input.hidden-input)\r\n     -0:17.4.0 vim-mode-plus:move-down (input.hidden-input)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"audioBeep\": false,\r\n    \"automaticallyUpdate\": false,\r\n    \"disabledPackages\": [\r\n      \"minimap-selection\",\r\n      \"nuclide-toolbar\",\r\n      \"nuclide-debugger-atom\",\r\n      \"nuclide-debugger-hhvm\",\r\n      \"nuclide-debugger-lldb\",\r\n      \"nuclide-test-runner\",\r\n      \"nuclide-remote-projects\",\r\n      \"wrap-guide\",\r\n      \"whitespace\",\r\n      \"metrics\",\r\n      \"hyperclick\",\r\n      \"nuclide-file-tree\",\r\n      \"nuclide-hack-symbol-provider\",\r\n      \"nuclide-hack\",\r\n      \"nuclide-buck-files\",\r\n      \"tool-bar\",\r\n      \"browser-plus\",\r\n      \"ex-mode\",\r\n      \"git-diff\",\r\n      \"background-tips\"\r\n    ],\r\n    \"followSymlinks\": false,\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"base16-ocean-dark-syntax-theme\"\r\n    ]\r\n  },\r\n  \"vim-mode-plus\": {\r\n    \"flashOnOperate\": false,\r\n    \"flashOnSearch\": false,\r\n    \"flashScreenOnSearchHasNoMatch\": false,\r\n    \"highlightSearch\": true,\r\n    \"incrementalSearch\": true,\r\n    \"setCursorToStartOfChangeOnUndoRedo\": true,\r\n    \"showCursorInVisualMode\": false,\r\n    \"useClipboardAsDefaultRegister\": true,\r\n    \"useSmartcaseForSearch\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nbase16-ocean-dark-syntax-theme, v0.1.9\r\nfile-icons, v1.6.14\r\nlanguage-ocaml, v1.1.2\r\nmarkdown-preview-opener, v0.1.1\r\nnuclide, v0.115.0\r\ntoggle-gutter, v0.2.2\r\nvim-mode-plus, v0.21.3\r\n\r\n# Dev\r\nnuclide, v0.115.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/comments/189783777","html_url":"https://github.com/t9md/atom-vim-mode-plus/issues/174#issuecomment-189783777","issue_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/174","id":189783777,"user":{"login":"t9md","id":155205,"avatar_url":"https://avatars.githubusercontent.com/u/155205?v=3","gravatar_id":"","url":"https://api.github.com/users/t9md","html_url":"https://github.com/t9md","followers_url":"https://api.github.com/users/t9md/followers","following_url":"https://api.github.com/users/t9md/following{/other_user}","gists_url":"https://api.github.com/users/t9md/gists{/gist_id}","starred_url":"https://api.github.com/users/t9md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t9md/subscriptions","organizations_url":"https://api.github.com/users/t9md/orgs","repos_url":"https://api.github.com/users/t9md/repos","events_url":"https://api.github.com/users/t9md/events{/privacy}","received_events_url":"https://api.github.com/users/t9md/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T04:56:08Z","updated_at":"2016-02-28T04:56:08Z","body":"I think I can fix and have some idea, but before adding guard code blindly.\r\nI want the people who can reproduce this issue very hight success rate, and want let them evaluate fixed code."}}