Created
February 27, 2019 04:20
-
-
Save mortonfox/4f5e1c62386d42ae2154c4ea644c1e47 to your computer and use it in GitHub Desktop.
[Configure MacVim] #macvim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configure MacVim: | |
On systems with Homebrew: | |
CC=clang ./configure \ | |
--with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-tclinterp \ | |
--enable-luainterp \ | |
--with-lua-prefix=/usr/local \ | |
--enable-cscope \ | |
--with-compiledby=pcheah@icetec.com | |
On systems with MacPorts and RVM: | |
rvm system | |
CC=clang ./configure \ | |
--with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-tclinterp \ | |
--enable-luainterp \ | |
--with-lua-prefix=/opt/local \ | |
--enable-cscope \ | |
--with-compiledby=pcheah@icetec.com | |
On systems with MacPorts without RVM: | |
CC=clang ./configure \ | |
--with-features=huge \ | |
--enable-rubyinterp \ | |
--with-ruby-command=/opt/local/bin/ruby2.1 \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-tclinterp \ | |
--enable-luainterp \ | |
--with-lua-prefix=/opt/local \ | |
--enable-cscope \ | |
--with-compiledby=pcheah@icetec.com | |
Create symlinks for all variants of Vim: | |
for i in "" m g r rm rg; do for j in vim vimdiff ex view; do if [ "$i$j" != "mvim" ]; then ln -sf mvim "$i$j"; fi; done; done | |
On Linux systems: | |
./configure \ | |
--with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-tclinterp \ | |
--enable-luainterp \ | |
--enable-gui \ | |
--enable-cscope \ | |
--with-compiledby=pcheah@icetec.com | |
Turn off Apple font smoothing: | |
defaults write org.vim.MacVim AppleFontSmoothing -int 0 | |
Test and install: | |
open src/MacVim/build/Release/MacVim.app | |
open src/MacVim/build/Release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment