--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Formatting the paragraph without moving the cursor relative
> to the text is possible but trickier: mark your place, format,
> then go back:
>
> :imap <F5> <C-O>m'<C-O>gqap<C-O>``
>
> or
>
> :imap <F5> <Esc>m'gqap``a
If one accepts, that 'formatprg' and 'formatexpr' are not used,
one can use 'gwap' in Normal mode (without '), too:
imap <F5> <C-O>gwap
Best wishes,
Georg
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease
of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html