Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Upgrade to CM 4.7.0+

Open cldwalker opened this issue 11 years ago • 5 comments

4.7.0 introduced custom keypress/keydown handlers. This conflicts with LT's mousetrap handlers and causes Esc, backspace. Waiting to upgrade until codemirror/CodeMirror#2915 is addressed

cldwalker avatar Nov 28 '14 15:11 cldwalker

This issue is now closed. Should we look into resolving this now? https://github.com/codemirror/CodeMirror/issues/2915

joshuafcole avatar Dec 13 '14 19:12 joshuafcole

codemirror has done lots of work on vim lately. anything i can do to help get LT updated to the latest version?

bjarthur avatar Jan 24 '15 23:01 bjarthur

@bjarthur Sure! Using the readme, upgrade vim.js and figure out why vim is stuck in insert mode and can't switch to normal mode. I've also noticed some keys don't work in insert mode e.g. arrow keys and ctrl on osx. There's a possibility that we'll also need to upgrade codemirror.js in order for this to work (#1797). Historically we haven't had to upgrade codemirror.js and vim.js at the same time but there's a possibility recent changes require they both be upgraded. I have higher priority issues to look at for now so any help appreciated in the meantime.

cldwalker avatar Jan 25 '15 14:01 cldwalker

what are the developer tools for debugging here? how do i set a breakpoint in vim.js? where does console.log() go? is there an IDE?

bjarthur avatar Mar 05 '15 13:03 bjarthur

@bjarthur You should be able to use DevTools – LT runs on top of node-webkit (or { Atom shell / Electron}), which is basically a browser.

kenny-evitt avatar Jun 28 '15 01:06 kenny-evitt