On Wed, Sep 15, 2010 at 09:09, C K Kashyap <[email protected]> wrote:
Does this work for you? > :v/pattern/d > It deletes all those lines in the buffer that does not match the pattern? > The problem is that I need to find the pattern at position mod 8. I can't use this 32 times like I can for the highlighting rule because the pattern might not match at position 8 but it could at position 16 but if I've already deleted it I will never know. And as far as adding the line 32 times is concerned, you could > consider adding that in your .vimrc file. That way, you'll do it only > once. > Or an autocmd on the file type. Good idea. ...Stephen -- 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
