dt<
------Original Message------ From: mathneuro Sender: [email protected] To: vim_use ReplyTo: [email protected] Subject: Delete from cursor to next instance of a pattern Sent: Mar 23, 2009 11:03 Hello, I was wondering if anyone had an clever (or non-clever) ways of deleting from the cursor to the next instance of a pattern. Perhaps it's easier to illustrate by example. For instance, if I have the line of text: 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 '<'? Thanks. Entered using opposable digits... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
