Repository navigation
Conversation
There was a problem hiding this comment.
Please make a named function out of the check so that this line can be an easily-readable return unless insideQuotes()
|
By any chance do you plan to support the % key and tag blocks? I have almost zero experience in coffee script and not much in atom API, would it be envisageable regarding the possibilities of the edition API? edit: I just saw that was disscussed here #141. |
There was a problem hiding this comment.
I'm still having trouble reading select. Could this chunk of code be refactored into something like (warning, pseudocode:)
end = @findClosingQuote(start)
return [false] unless end
editor.selectToPosition(end)
[true]
|
This is great! This is probably the single feature I miss most from vim when using other editors. I'd love to see this merged with vim-mode |
|
I'm excited about this too. It's painful to have |
|
Excellent. I hope to see this functionality integrated soon. |
|
Is there any chance of an ETA to update this, @udp ? I'm itching for this functionality and resisting the urge to update this branch locally because it's so close to finished. |
|
I don't have any time to work on this at the moment, but the code works fine. If someone wants to update it to fix the style issues/whatever that'd be welcome. EDIT: Not sure why Travis is failing (there aren't any tests for these text objects), so I guess that needs investigating too. |
|
Closing in preference to #286 |
This allows one to use things like
ci"to change in quotes andci(to change in brackets. Like Vim, it works across lines and understands escaped quotes and nested brackets.It could perhaps be more elegant - I wasn't 100% on the APIs for selecting stuff, but at least it seems to work alright.