Tuesday, June 5, 2012

Re: A problem about record

On Thu, May 24, 2012 at 2:07 AM, Gary Johnson <garyjohn@spocom.com> wrote:
> On 2012-05-23, Yichao Zhou wrote:
>> Hi, everyone.
>>   Recently I want to change the foldmarker in tex file to <<<,>>>
>> since there will be less conflict.  So I record a macro
>>     :%s/{{{/<<</g^M:%s/}}}/>>>/g^M:setlocal fmr=<<<,>>>^M:w^M
>>   (You need to replace ^M to real ^M)
>>   However, vim will auto enter insert mode after all is finish, which
>> I think is a vim's bug.  This can not be reproduced every time.
>>
>>   The attach file is an example tex file.  Can anyone reproduces this problem?
>
> It worked fine for me.  I tried it with my standard configuration
> which includes the vim-latex-suite and with "vim -N -u NONE".  I did
> have to edit your attachment first, as the version you attached
> already used <<< and >>> and not {{{ and }}}.
>
> I'm using Vim 7.3.524.
>
> Regards,
> Gary
>
> --
> 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

I think this time this bug can be reproduced. Use the viminfo file in
the attachment. Make sure latex-suite is installed. Open hw10_2.tex.
Type @a. You will find that you are in the insert mode.

The problem is latex suite is too big that it is hard to detect what
causes the problem.

Regards,
Yichao Zhou

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

Post a Comment