Friday, February 7, 2014

Re: [plugin] targets.vim - adds many text objects in the spirit of Vim, including next and last text objects

On Thursday, February 6, 2014 10:43:44 PM UTC+1, Christian Wellenbrock wrote:
> This is my first Vim plugin and I would appreciate some honest feedback. Let me know what you think! :)
>
> https://github.com/wellle/targets.vim

Nice work! You have great attention to detail. Dealing with all corner
cases is painful, I can say that because I struggled a lot with corner
cases in textobj-comment.

Speaking of which: I like your 'seeking' idea, and I wonder if it could
be used in other custom text objects, too. For example, "dac" deletes a
comment, "danc" deletes a following comment, "daNc" deletes a preceding
comment, ... (I would use "N" not "l" to go in the other direction.)

Probably a lot of work to implement, though.


--
David

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment