Tuesday, June 15, 2010

Re: How to center text in a comment box

Hi,

On Mon, Jun 14, 2010 at 3:42 AM, Robbo <house.83@gmail.com> wrote:
> Hello,
> if I select a text area via visual mode, how to draw a 80 chars width
> comment box and center the selected text in it?
>

You can try using the boxes utility:

http://boxes.thomasjensen.com/

- Yegappan

> For example:
> If I select the following text:
>
> GODMORING
> GUYS
>
> I obtain
>
> /
> *******************************************************************************
>  *
> GOODMORING                                  *
>  *
> GUYS                                     *
>
> ******************************************************************************/
>
> Thank you
>
>
>
> --
> 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
>

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

No comments: