[svlug] To the VI masters

Ivan Passos lists at cyclades.com
Mon Oct 16 17:18:01 PDT 2000


On Mon, 16 Oct 2000, Aaron Lehmann wrote:
> 
> I just wipped up the following ex macro:
> 
> map `` /\/\/^Mlr*A */^[
> 
> If you use vim, you can stick this in your .vimrc file. Otherwise, I
> think it involves .exrc but I don't know offhand.
> 
> Change `` to the keystroke you want to bind do. Suggested keystroke is
> Alt-something, which can be inserted into the map line by pressing
> control-v and the keystroke.

< some interesting explanation about how to get special chars in VI
  removed -- I already knew that part, but thanks for the nice
  explanation!! >

Would you mind explaining what this expression mean exactly?? I could use
your explanation to apply in other cases in the future ...

map `` /\/\/^Mlr*A */^[

I assume '\/\/' means '//' and ^M is the EOL character (the delimiters of
the line I wanna change, perhaps??). Now, what about the other
characters?? If you could explain that, I'd really appreciate it.

Thanks for your help so far, and thanks in advance for your "next msg" !!
;))

Later,
Ivan





More information about the svlug mailing list