Compile Vim 7.3 with +clientserver feature on Mac OS X

前端 未结 6 786
天命终不由人
天命终不由人 2020-12-31 06:02

How do I compile Vim with the clientserver feature on Mac OS X? I have the vim-7.3.tar.bz2 source

I understand that MacVim has this built in, bu

6条回答
  •  囚心锁ツ
    2020-12-31 06:17

    You can now do this using HomeBrew as well:

    brew install vim --with-client-server
    

    It looks like this was added back in 2013, so I'm not sure why it's not mentioned more frequently.

    Just in case you were doing this to start using Pterosaur like me, after installing vim with HomeBrew, you might have to force the symlink if you're using MacVim through HomeBrew as well.

    brew link --overwrite macvim
    

    Then, just set the extensions.pterosaur.vimbinary to /usr/local/bin/vim in the Firefox about:config page and it should work. I'm typing this using Pterosaur right now, though occasionally Python crashes.

提交回复
热议问题