dqba94619 2016-11-15 18:37
浏览 71

VIM在打开PHP文件时发现致命信号SEGV [关闭]

I have PHP file on my virtual Linux CentOS machine and intermittently when I open it I am getting right away

Vim: Caught deadly signal SEGV

Vim: Finished. Segmentation fault.

I tested that file many times there are no any kind of hidden special characters. More over if I open another PHP file or for that matter any file and open my troubled file from it (:e file_name) I can view it, edit and save without any problems.

Any suggestions what is wrong with that file and how to fix it?

  • 写回答

1条回答 默认 最新

  • dpklt4291 2016-11-15 19:10
    关注

    Try following command:

    vim -u NONE <your_file>
    

    it will launch vim without processing /etc/vimrc and ~/.vimrc

    If you'll be able to edit your file then it means that the problem is one of your vim plugins. Try disabling them one by one and see what happens.

    评论

报告相同问题?