Wednesday, July 24, 2013

Re: autoflow fails to add line break if word ends on line margin

On Wednesday, July 24, 2013 1:02:28 AM UTC+12, Eric Smith wrote:
> If the last char of a word in on the margin, then autoflow
> wrapsthat word to the next line and does not place a space
> between the two words.
>
> Yup, without me intending it, it just did it again!
> formatoptions=tcqa.
>
> Does the same with formatoptions=a.

Please tell us how wide vim's window is, and what textwidth is set to:

:set co? tw?

I take it that the text "If the last char of a word in on the margin, then autoflow wraps that" was what you typed. If I set tw=60, and type the text, you seem to be expecting vim to know that the word you want is "wraps" and insert a space by itself; you should just type the space that comes at the end of the word like you typed all the others on the line. Or did you type the space and it got swallowed?

Regards, John Little

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment