" Add these lines to your .vimrc and you will be happy with " p5-Text-Autoformat. Use ctrl-k to reformat a paragraph and ctrl-n to " reformat all text from the cursor. imap !G perl -MText::Autoformat -e "{autoformat{justify=>'full'};}" nmap !G perl -MText::Autoformat -e "{autoformat{justify=>'full'};}" vmap !G perl -MText::Autoformat -e "{autoformat{justify=>'full'};}" imap !G perl -MText::Autoformat -e "{autoformat{all=>1,justify=>'full'};}" nmap !G perl -MText::Autoformat -e "{autoformat{all=>1,justify=>'full'};}" vmap !G perl -MText::Autoformat -e "{autoformat{all=>1,justify=>'full'};}"