cd ~/dotfiles
git pull
./install
- From source code
- Download python source code
./configure --prefix=/usr && make && sudo make install
- Use homebrew
- brew install python3, excutable is in /usr/local/bin and libraries are located in /usr/local/lib
- Use pip3 to install packages for python3 and pip for python2
- Remember to update python path and install pylint for sytastic plugin.
Do NOT install vim with conda python, remove conda python from your path
git clone https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config \
--enable-python3interp=yes \
--with-python-config-dir=/usr/lib/python3.6/config-3.6m-darwin \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/usr
cd src && sudo make install
This plugin is compatitable with conda python. Vim and Youcompleteme can have different python build
- system preference -> keyboard -> modify keys -> choose keyboard -> option == option
- change vim mapping
- Set alt/option key as meta key in Iterm2 profile key setting.