[Melbourne-pm] Data::Dumper enhancement

Josh Heumann melbourne.pm at joshheumann.com
Thu Jul 29 16:57:42 PDT 2010


<quote who='Alfie John' when='Wed, Jul 28, 2010 at 11:24:53AM +1000'>
> I think if you want to change the behaviour of something that most people
> aren't going to agree but it still bugs you, maybe consider adding an
> expansion key binding to your editor e.g. iab in VIM.

FWIW, I've been using these for a while in my .vimrc:

    " data::dumper
    abbr udd use Data::Dumper;

    abbr ddu die Dumper
    abbr pdu print Dumper
    abbr wdu warn Dumper

    abbr uddu use Data::Dumper;<cr>die Dumper
    abbr updu use Data::Dumper;<cr>print Dumper
    abbr uwdu use Data::Dumper;<cr>warn Dumper

J


More information about the Melbourne-pm mailing list