Oh! Thank you all! I am so happy!

On Mar 23, 11:14 am, Tim Chase <[email protected]> wrote:
> > This is a line of text for an example for the <a href="http://
> >www.vim.org">vim</a>.
>
> > If my cursor is at, say, the beginning and my task is to delete
> > everything until the 'a' tag, I can use d11w or hold down 'x' or do a
> > number of other things, but is there a way to tell vim, delete from
> > here to the character '<'?
>
> You mean
>
>    dt<
>
> you'll want to read up at
>
>    :help f
>
> and following (f/F/t/T/;/,)
>
> You can also do more complex searches:
>
>   some teXt <b>bold</b> stuff <a href="">
>
> If your cursor is on the X, you can either use
>
>    d3t<
>
> to delete to the 3rd "<", or
>
>    d/<a
>    d/<a/s-
>
> (depending on how far you want to go ":help {offset}")
> to force deletion to the "<a" match (which even works across
> multiple lines).
>
> There are all sorts of crazy motions you can use:
>
>    :help motion.txt
>
> -tim
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to