Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 wandering the Monastery: (6)
As of 2015-07-05 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls