Saturday, November 3, 2012

Re: vim: how to make gq work for CKJ

On 11/3/2012 2:03 AM, Alick Zhao wrote:
> On Fri, 02 Nov 2012 12:26:46 -0400, ping wrote:
>> hi Ben:
>>
>> here are the "sample" text.
>>
>> 加州政府搞的医疗保险计划,叫做Kaiser,每月的保险费比参加商业保险便宜些。
>> 但是参加这种保险,看病只能去Kaiser旗下的医院。就 像国内最早实施的那种医
>> 疗保险一样,只能去"定点医院"看病,要知道在美国稍有些本事的医生,都独立开
>> 诊所的,所以医院里大多是资格比较嫩的 刚从实习医出来没几年的小医生,而且
>> 医院还承担教学的任务,做个手术啥的通常会有一批实习医围观。
>>
>> It's a one line. I tried gqq, or gqap, neither works...
>> I have tw set to 80.
>>
>> the expected result:
>> 加州政府搞的医疗保险计划,叫做Kaiser,每月的保险费比参加商业保险便宜些。
>> 但是参加
>> 这种保险,看病只能去Kaiser旗下的医院。就像国内最早实施的那种医疗保险一
>> 样,只能去
>> "定点医院"看病,要知道在美国稍有些本事的医生,都独立开诊所的,所以医院里
>> 大多是资
>> 格比较嫩的刚从实习医出来没几年的小医生,而且医院还承担教学的任务,做个手
>> 术啥的通
>> 常会有一批实习医围观。
>>
>> It looks I have issue on my ubuntu , but, interestingly, I tried in a
>> cygwin vim/win7 and don't see the issue, so I guess it must be related
>> to my configs, but wondering what did I miss here?
>>
> That's quite possible. Can you use `vim -u NONE -U NONE testfile` to
> reproduce the issue on Ubuntu? If the issue disappear you need to debug
> your personal settings(vimrc, various settings under ~/.vim, etc).
> Otherwise Ubuntu's system vim configuration is to be blame IMO.
>
you are right. with vim -u NONE, I can make it work after :
set tw=80
set fo+=mB

now I have to figure out which part of my vimrc is the culprit...

--
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

No comments: