Thursday, October 4, 2012

Re: vim: how to gq a visual block?

guys,
any better solution on this?
b.t.w currently I'm working around with 3 steps:

1) visual selecting right (digit) block and remove them
2) gq to re-format with a new 'tw' on the left (letter) block
3) add the removed right (digit) block back on the right



On 10/03/2012 03:22 PM, ping wrote:
> as in subject, suppose we have a gq'ed block already:
>
> 0 1 2
> 12345678901234567890123456789
> lsdjflsdlksjfsdlfjsld 123
> lsjfsdfksdjfldsfsdlsl 456
> lsjdlfsdlfjsalfslfsjs 789
>
>
> now I want to re-format the character blocks , for example, extend them
> from current length 21 to some other length, say, 25, or squeeze to 18,
> without affacting the "digit blocks".
>
> is it possible at all with any command or plugins?

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