> Thanks a lot. That worked great. Quick question. Is this correct: @
> can be used instead of / a the separater between the searched-for text
> and the replacement text, and when so used, this allows one to use /
> as a literal?

Yes, vim allows a pretty broad range of characters to be used as 
the separator as detailed at

   :help E146

(not a very intuitive help-target, but it's the most direct link 
to the apropos section).  I usually fall back to "@", "!" or "#" 
depending on what is (or more importantly, what *isn't*) in my 
regex/replacement.  Shebang lines in shell-scripts eat most of my 
popular choices, being of the form "#!/path/to/executable"

-tim






--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to