On 05/11/12 16:52, john Culleton wrote:
I have an F key set up to justify an entire doc ragged right. Now
I need a reliable technique to highlight part of a doc and apply
justification to just that part. I am in visual mode after
highlighting of course. I have tried various keyings but
nothing seems to work. Hints?
How have you "set up" your F key?
You might define a user-command instead, with a -range=% argument, to
justify the given range. Then invoking that command in Visual mode will
automagically prefix it with :'<,'> which means "from the first to the
last line of the Visual highlight".
But isn't ragged right the default? Or do you mean flush right ragged
left? See :help right-justify
Best regards,
Tony.
--
Be careful of reading health books, you might die of a misprint.
-- Mark Twain
--
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