Friday, June 16, 2017

Re: "gq" command always linebreak even if setting textwidth=0?

On Friday, June 16, 2017 at 8:45:14 AM UTC-5, Joey Ling wrote:
> I have set the textwidth as 0, wy "gq" command still add linebreak with some certain textwidth in the paragraph?

:help gq says:

"If the 'textwidth' option is 0, the formatted line length is the screen width (with a maximum width of 79)."

So that's what's happening. Why are you using the "gq" command if you don't want to format lines to a width?

--
--
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/d/optout.

No comments:

Post a Comment