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

Re: Using substitute to replace current word

Expand Messages
  • Mark Woodward
    ... Thanks Mikolaj, I didn t realise you could concatenate an exe command like this but I see now that s exactly what is outlined under :h exe ;-) -- Mark
    Message 1 of 3 , Jun 3, 2003
    • 0 Attachment
      > if you want with :s/// try:
      > exe "normal :s/" .s:str. "/" .newword. "/e\<cr>"

      Thanks Mikolaj,
      I didn't realise you could concatenate an exe command like this but I
      see now that's exactly what is outlined under :h exe ;-)

      --
      Mark
    Your message has been successfully submitted and would be delivered to recipients shortly.