On Fri, Nov 7, 2008 at 22:30, Jerrygreat <[EMAIL PROTECTED]> wrote: > How can I use one command line to delete all the staffs before RDRDBA, make > the file like
I would suggest a different approach. While regexp are extremely handy, you have an easier option here as your input is well-formed: gg to get to the first line CTRL-V to go into visual block mode G to get to the end of the file <right> to mark the block you do _not_ want d to delete what you marked. Richard --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---