Loading ...
Sorry, an error occurred while loading the content.

113519Re: Search & Replace

Expand Messages
  • Ben Fritz
    Apr 2, 2010
    • 0 Attachment
      On Apr 1, 11:40 pm, Kunal Bajpai <kunal.baj...@...> wrote:
      > To this html code I wanted to select the text between the tags and replace
      > the original text with \n character removed. There is a more complex example
      > that I wanted to ask, here is the problem:
      > Original
      > ______________________________
      > <p>Mike
      > <strong>Gilbert </strong>
      >  Senior</p>
      > _____________________________
      > After search & replace:
      > ______________________________
      > <p>Mike <strong>Gilbert</strong> Senior</p>
      > _____________________________
      > I hope you really got what I was asking.

      You can also try gqat from normal mode. Potentially you could repeat
      this using a macro with a count (999999@q) or a recursive macro:


      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

      To unsubscribe, reply using "remove me" as the subject.
    • Show all 10 messages in this topic