Update built-in vim on Mac OS X

后端 未结 8 941
后悔当初
后悔当初 2020-12-12 08:50

I know this might be more appropriate at Ask Different, but as I tried adding tags there, there was no vim tag, only macvim. So I figured I might g

8条回答
  •  -上瘾入骨i
    2020-12-12 09:13

    This blog post was helpful for me. I used the "Homebrew built Vim" solution, which in my case saved the new version in /usr/local/bin. At this point, the post suggested hiding the system vim, which didn't work for me, so I used an alias instead.

    $ brew install vim
    $ alias vim='/path/to/new/vim
    $ which vim
    vim: aliased to /path/to/new/vim
    

提交回复
热议问题