Wednesday, May 23, 2012

Re: A problem about record

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

No comments: