Monday, June 3, 2019

Re: long line to paragraph all indented

On 03.06.19 13:43, Tim Johnson wrote:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
>
> becomes:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> and bake for about 20 minutes or until cheese is bubbling.

Another data point: With autoindent on, I use gq}, i.e. wrap a
paragraph. Then there's only one thing to remember for wrapping stuff,
long line or wide paragraph.

To minimise keystrokes, I've mapped that to ^W, i.e. "Wrap". (That was
apparently a window command, whatever one of those is. Even after
decades, flicking between buffers with the original commands seems
eminently sufficient. One could use Alt-W, I guess.)

Particularly impressive is that the wrapping, whether gqq or gq},
respects and properly places/adds '> " quote delimiters when wrapping
text quoted as above, making Vim ideal for use within an MUA, in this
case, Mutt.

Erik

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190604014352.GA3502%40ratatosk.
For more options, visit https://groups.google.com/d/optout.

No comments: