2017-05-21 14:54 GMT+03:00 Joey <[email protected]>: > When I run :right command in gvim, it's ok, like this: > > 彼外道常说自然,我说因缘。——楞严经 > > But if I open the txt file with Word, it's like this: > > 彼外道常说自然,我说因缘。——楞严 > 经 > > The last character is returned to the next line, what's wrong?
As Tim Chase said Vim does right justification with spaces, it is not “real” right justification which is done using some form of “set paragraph attribute ‘align’ to ‘right’”. You can do this in HTML (via using CSS attribute `text-align: right`), doc[x] (Word has a button for this), etc, but not in a txt file, and not with `:right` command. You need to ask yourself “what do I need right alignment for” and act accordingly, adjusting &textwidth to make text look right *on your computer with yours Word window size, zoom factor and window resolution* will do no good because it will no longer look right once some of factors changes. Maybe you just need to create an rtf document instead using Word and set that paragraph attribute there. > > -- > -- > 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. -- -- 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.
