On 2017-05-22 01:49, Joey Ling wrote: > On Sunday, May 21, 2017 at 8:15:50 PM UTC+8, Tim Chase wrote: > > I suspect what's happening is that, since Vim does the > > right-justification with spaces, Word is displaying all those > > spaces and then not having enough room to display the last > > character, so it bumps it to the next line. So the first > > "solution" would have vim add fewer spaces before the > > right-justified text in the actual document, while the second & > > third ideas increase the number of characters that Word should be > > able to fit on a line. > > I have set the same 80 characters per line for both Vim and Word, > in my opion, they should display the same, am I wrong?
In vim, 80 characters is 80 character-cells so it fits exactly. In Word, AFAIK, there is no "make the width 80 characters" but rather margins (set in units of inches/mm/cm/whatever) and variable fonts (set in units of points, potentially monospace, potentially proportional). So Vim is giving you 80 actual characters, but Word is not giving you 80 full-width-Chinese-glyph characters. Rather, Word may be giving you 80 of *some* average character (usually an "M") and doing whatever it wishes with the spacing. For best results in Word, you'd want to specify a monospace font and paste 80 wide characters, then set your margins & font-size accordingly. -tim -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
