{"action":"created","issue":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/1249","repository_url":"https://api.github.com/repos/cursive-ide/cursive","labels_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1249/labels{/name}","comments_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1249/comments","events_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1249/events","html_url":"https://github.com/cursive-ide/cursive/issues/1249","id":132246502,"number":1249,"title":"structural editing and ideavim don't play well together","user":{"login":"jrheard","id":108659,"avatar_url":"https://avatars.githubusercontent.com/u/108659?v=3","gravatar_id":"","url":"https://api.github.com/users/jrheard","html_url":"https://github.com/jrheard","followers_url":"https://api.github.com/users/jrheard/followers","following_url":"https://api.github.com/users/jrheard/following{/other_user}","gists_url":"https://api.github.com/users/jrheard/gists{/gist_id}","starred_url":"https://api.github.com/users/jrheard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrheard/subscriptions","organizations_url":"https://api.github.com/users/jrheard/orgs","repos_url":"https://api.github.com/users/jrheard/repos","events_url":"https://api.github.com/users/jrheard/events{/privacy}","received_events_url":"https://api.github.com/users/jrheard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-08T20:19:08Z","updated_at":"2016-02-09T04:01:20Z","closed_at":null,"body":"hi! sorry if this is a known issue, i've been having a really hard time turning anything up in google searches.\r\n\r\nwith cursive and ideavim installed, if i'm editing the following code:\r\n\r\n(defn thing [bar]\r\n\r\n  (+ bar 3))\r\n\r\nif i move the caret over the second line and press dd, i'm left with\r\n\r\n(defn thing [bar]\r\n\r\nwhereas in vim, with paredit enabled, i'd be left with\r\n\r\n(defn thing [bar]\r\n)\r\n\r\nso the point here is that ideavim doesn't respect structural editing's whole thing of making sure you've always got the right amount of open/close parentheses. you can also observe this with the `x` command in vim - you can easily delete parentheses and structural editing doesn't stop you.\r\n\r\nthis isn't a huge deal in this toy example, but can be a huge pain if i'm eg deleting the last line of a big function so i can move it elsewhere - i end up taking out ten closing parentheses by accident, and then i have to disable structural editing and write some close parentheses by hand and eyeball my rainbow parens to make sure everything's balanced and then reenable structural editing, and by this point i've forgotten what i was actually trying to do to my code in the first place.\r\n\r\nis this the sort of thing that's possible to fix? i'm completely loving everything about cursive so far, i've really been blown away, but this is definitely the one specific biggest issue that's making it hard to decide whether or not to buy a license.\r\n\r\nthanks so much for your great work on this excellent tool!"},"comment":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/comments/181698266","html_url":"https://github.com/cursive-ide/cursive/issues/1249#issuecomment-181698266","issue_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1249","id":181698266,"user":{"login":"cursive-ide","id":5589171,"avatar_url":"https://avatars.githubusercontent.com/u/5589171?v=3","gravatar_id":"","url":"https://api.github.com/users/cursive-ide","html_url":"https://github.com/cursive-ide","followers_url":"https://api.github.com/users/cursive-ide/followers","following_url":"https://api.github.com/users/cursive-ide/following{/other_user}","gists_url":"https://api.github.com/users/cursive-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/cursive-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cursive-ide/subscriptions","organizations_url":"https://api.github.com/users/cursive-ide/orgs","repos_url":"https://api.github.com/users/cursive-ide/repos","events_url":"https://api.github.com/users/cursive-ide/events{/privacy}","received_events_url":"https://api.github.com/users/cursive-ide/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T04:01:20Z","updated_at":"2016-02-09T04:01:20Z","body":"BTW I've added an [IdeaVim issues](https://github.com/cursive-ide/cursive/wiki/IdeaVim-issues) wiki page to collect information relating to IdeaVim."}}