开发者

externally modified files in gvim

开发者 https://www.devze.com 2023-02-22 22:24 出处:网络
if I have a file open in gvim and it get modified by an external program I end up with my buffer filled with this error and no possible escape but closing vim is there a good solution to this?

if I have a file open in gvim and it get modified by an external program I end up with my buffer filled with this error and no possible escape but closing vim is there a good solution to this?

E813: Cannot close autocmd

using vim on lin开发者_如何学编程ux if that matters.

BRG Anders Olme


Perhaps reading :help E813, will help you find clues to your problem.

At the end it says:

There is one situation where you get the message while there is nothing wrong: On a Win32 system on the day daylight saving time starts. There is something in the Win32 libraries that confuses Vim about the hour time difference. The problem goes away the next day.

Is it possible this is you or has this problem been happening over a period of time?

My other thought is this is some autocmd gone awry which means something in your .vimrc or a plugin is messed up. Try commenting out your .vimrc and running vim with --noplugin option and see if you can still recreate the problem

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号