the gq} does exactly what i want.
thanks
On Jan 13, 4:25 pm, Vlad Dogaru <ddv...@rosedu.org> wrote:
> On 01/13/2010 05:22 PM, sc wrote:
>
>
>
>
>
> > On Wednesday 13 January 2010 09:18:11 amKeyanwrote:
>
> >> i know about the 'qwap' option, which formats a paragraph, but
> >> i have to following problem. assume i have this text:
>
> >> aaa
> >> bbb cccc dddf ff s
> >> dfs dff
> >> df ff ddf dff
>
> >> where the cursor is placed in the line beginning with bbb. if
> >> i now use 'gwap', then i will have a block start with aaa bbb
> >> cccc ...
>
> >> what i want is to format the block until the end of the
> >> paragraph, omitting all lines above the current cursor
> >> position. the application is in latex file, where i have
>
> >> \section{Header}
> >> text text text
>
> >> and i want to format everything below \section, but still have
> >> \section alone in the line above.
>
> > i believe you are looking for
>
> > gq}
>
> Alternatively, if your area doesn't end at the next blank linke, you can
> use visual line mode (V) to select the text and then press gq.
>
> Vlad
No comments:
Post a Comment