Installing vim with homebrew assistance

前端 未结 6 441
生来不讨喜
生来不讨喜 2021-02-03 23:09

I tried to install YouCompleteMe on Mac for vim, but I\'ve been using the system vim which is version 7.3. I tried to update my vim using homebrew by typing brew install v

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-03 23:57

    Just install vim via homebrew:

    brew install vim
    

    Then restart your shell:

    exec -l $SHELL
    

    And check the version:

    $ vim --version|head -n 1
    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar  9 2016 19:07:39)
    

提交回复
热议问题