On Sep 13, 2:24 am, Spiros Bousbouras <[email protected]> wrote:
> On Sep 12, 3:40 pm, Ben Fritz <[email protected]> wrote:
>
>
>
> > Yikes! Text-objects are way more useful without using visual mode,
>
> Ok , I'm convinced text objects are wonderful. Is there a way to get
> the line range covered by a text object to be used in user defined
> commands ? I can see that you can yank the object itself and use the
> yanked text in your command but say that for whatever reason you
> want the line range or even better the byte range which the object
> occupies. Is there a way to get that ?
The "CountJump" plugin written by Ingo Karkat provides several
functions to let you define your own text object:
http://www.vim.org/scripts/script.php?script_id=3130
think this might be helpful to you too.
--
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