![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: .vimrc for perl programmersby Codon (Friar) |
on Dec 19, 2007 at 13:54 UTC ( [id://657871]=note: print w/replies, xml ) | Need Help?? |
I know that this is an old node. And that I have already commented on it. However, I wanted to add some updates.
I had a regex mapped to comment out lines or blocks of code and another to uncomment them. I always hated that this killed my "previous search expression" so that I could not go through a file looking for a pattern, comment out the line, and go to the next occurrence without re-issuing the search command. I always thought "There must be a better way. After OSCON 2007, I found that better way:
I also got tired of the fancy status line function not working inside closures because sub was indented. So, I did some poking at the code (that a coworker had put together) and made some minor fixes:
Share and enjoy.
Ivan Heffner Sr. Software Engineer WhitePages.com, Inc.
In Section
Meditations
|
|