Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Select inside not working #42

Closed
meleyal opened this issue Oct 25, 2014 · 4 comments
Closed

Select inside not working #42

meleyal opened this issue Oct 25, 2014 · 4 comments

Comments

@meleyal
Copy link

meleyal commented Oct 25, 2014

It seems like select inside e.g. vi" is not working.

It works in the CodeMirror vim demo:
http://codemirror.net/demo/vim.html

@cldwalker
Copy link
Member

Thanks for catching this. LT seems to be doing something to visual mode. I've ruled out LT sending additional keys as thevim-keypress event only logs what I type. However, on osx 10.9, when I press v, my cursor moves one to the right. This doesn't happen in the demo. When we dig into #41, we should get some insight into this.

@cldwalker
Copy link
Member

I noticed that this is actually an upstream enhancement. Until we can upgrade codemirror (#45), you can ci" to change inside.

@nobae
Copy link

nobae commented Apr 2, 2015

Upgrade "vim.js, codemirror.js, codemirror.css" files with the following
https://github.com/codemirror/CodeMirror/archive/5.1.0.zip

to

[LT path]/core/node_modules/codemirror/codemirror.js
[LT path]/core/css/codemirror.css
~/.config/LightTable/plugins/Vim/vim.js

@yashaka
Copy link

yashaka commented Jun 25, 2015

@nobae, did it work for you? for me it broke the "editing" completely...

@meleyal meleyal closed this as completed Jan 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants