On 04/20/2011 06:02 PM, Tim Chase wrote:
> While I don't know what other folks use, and I don't do it myself,
> this one-liner can be made into a :command! or mapped to make it
> pretty easy/straight-forward:
> 
> :%s/^\(.*\)\>\s*\(\*[^*]*\*\)$/\=printf('%s%*s', submatch(1), 
> (&tw?&tw:80)-(strlen(submatch(1))), submatch(2))

That is awesome. Thanks, Tim!

Looking through some more of the help, I'm actually thinking much of
it was formatted by hand.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to