cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
590 stars 7 forks source link

cursive breaks vim plugin on intellij 14 (but not 13) #634

Closed ajmorgan closed 9 years ago

ajmorgan commented 10 years ago

the "in" and "around" vim commands are broken after installing cursive on intellij 14 (whereas 13 works great)

example broken commands (when in the vim command mode) change in s-expression: ci( change around s-expression: ca( highlight whole s-expression: va( change in vector: ci[ change in string: ci" etc.

example usage: with the cursor somewhere in the following s-expression (ns loot-collector.collector) I expect the change in command ci( to leave me in insert mode inside empty parens ()

currently, in Intellij 14, using the 'ci(' command, I get something that looks like (ns loot-coll () ector.collector)

Hope this helps, and thanks for the great product, Adam

cursive-ide commented 10 years ago

Hm, that's a bummer. Thanks for the great repro case. I'll try to take a look at this, but the IdeaVim plugin is fairly inscrutable and also only supported in one guy's spare time, so fixes might be slow. I'll see if I can see if it's something obvious on the Cursive end.

ajmorgan commented 10 years ago

If it helps, the same IdeaVim plugin version works with Cursive on Intellij 13 perfectly. Thank you for looking into it.

ajmorgan commented 10 years ago

Update: If I turn off "Use structural editing" in Preferences->Other Settings->Clojure, this bug goes away (along with structural editing goodness). Hopefully this will help you narrow it down.

ajmorgan commented 9 years ago

This issue is fixed in 0.1.49

cursive-ide commented 9 years ago

How very strange - I'm pleased, but I have no idea why! Thanks for the report.