Wednesday, May 23, 2012

A problem about record

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?

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: