Re: HTML comment :join weirdness

2017-05-21 Thread Christian Brabandt
On So, 21 Mai 2017, BPJ wrote: > I have an HTML file with lots of pairs of lines like these: > > bb > > > I want to join the two lines so that the comment comes at the end of the > preceding line so I do `:g/ > ^ >

HTML comment :join weirdness

2017-05-21 Thread BPJ
I have an HTML file with lots of pairs of lines like these: bb I want to join the two lines so that the comment comes at the end of the preceding line so I do `:g/ ^ | Nothing here!

Re: :right command on Chinese characters

2017-05-21 Thread Nikolay Aleksandrovich Pavlov
2017-05-21 14:54 GMT+03:00 Joey : > 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

Re: :right command on Chinese characters

2017-05-21 Thread Tim Chase
On 2017-05-21 19:54, Joey wrote: > 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

:right command on Chinese characters

2017-05-21 Thread Joey
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?

Re: setting breakindentopt via modeline brings E474

2017-05-21 Thread Ronald Höllwarth
Am Samstag, 20. Mai 2017 14:24:45 UTC+2 schrieb Christian Brabandt: > On Sa, 20 Mai 2017, Ronald Höllwarth wrote: > > > Hello, > > > > I'm using vim 8.513 with +linebreak and have the following problem: > > > > I want to set a modeline that does the following: > > > > wrap long lines (set