Here's something I've been looking for how to do for a long time now.

Select a paragraph with uneven line counts past right margin, and re-justify
the text in respect to margins.

map <F9> vipJQQ<CR>


Puts in 'v' visual mode, 'ip' selects the (inner) paragraph under the cursor,
'J' joins all the lines of the selected paragraph into one line, and 'Q' for
re-wrap the text in respects to the margins.

(For some reason, I had to specify 'Q' twice?)

Works sweetly now for email!  Now tell me, something like this is already
created for VIM.

-- 
Roger
http://rogerx.freeshell.org/

-- 
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