[Koha-devel] perltidy

Joe Atzberger ohiocore at gmail.com
Mon Feb 15 16:26:23 CET 2010


>
>
> Finally a tip. I found this in the book Perl Hacks with these two vim
> mappings:
> map ,pt <ESC>:%! perltidy<CR>
> map ,ptv <ESC>: '<,'>! perltidy<CR>
>

You can also filter pass without mappings.  Just select the text you want (*
V* to enter visual mode, arrow up/down to select), then *!perltidy* to
reformat the selection.  Very useful however you do it!

--Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20100215/2167708c/attachment-0002.htm>


More information about the Koha-devel mailing list