Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Favorite Hacks in Emacs

by Porculus (Hermit)
on May 13, 2009 at 07:09 UTC ( #763691=note: print w/ replies, xml ) Need Help??


in reply to Favorite Hacks in Emacs

shell-command-on-region. With a prefix argument it replaces the region with the shell command's output. Great way to run Perl one-liners on whatever you're editing!

Also, align-regexp. Ideal for picky types who want a bunch of assignments to line up on the =. ;)


Comment on Re: Favorite Hacks in Emacs
Select or Download Code
Re^2: Favorite Hacks in Emacs
by juster (Friar) on May 13, 2009 at 19:32 UTC

    that reminds me! I forgot cperl-mode's C-M-| for lining up stuff. I use that alot.

    Just don't miss and hit backspace in X windows...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763691]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-09-20 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls