vim segment fault when i upgrade to macos mojave #3165
The text was updated successfully, but these errors were encountered:
Sat down to get some work done and spent an hour fixing my dev environment. Thank you, @lzjqsdd for this solution.
Some addition steps:
As above, installed vim with the given options:
brew install vim --with-lua --with-override-system-vi
Changed file owner and group of
sudo chown $(whoami):wheel /usr/local/share/man/de/man1
brew link vim
Started a new shell and the problem was fixed.
I got same error. However, I found one interesting thing too, and I don't know why too.
$ git config --global core.editor
$ git config --global core.editor /usr/local/bin/vim
It's ok. I think it cause by the default editor is not compact with ycm
I still get the error after following all the suggestions above. Finally I solved the problem based on the ideas in the article https://wxnacy.com/2019/03/15/vim-error-caught-deadly-signal-segv/ , even though I cannot solve it as what the article told.
My solution is to add the following aliases to the
The problem is actually the vim we use is not the version Homebrew installed, which can be checked with