This whole thing hinges on having the right version of Python installed. We're going to do it via Homebrew. You have to install Python BEFORE you install Vim. So if Vim is already installed (the Homebrew version, that is) then remove it first.
Check to see if vim or python are installed.
brew list
Remove vim if necessary.
brew uninstall vim
Install python.
brew install python
Install vim.
brew install vim --env-std --override-system-vim
Check which python version you're using.
which python
/usr/local/bin/python
Install powerline with pip.
pip install git+git://github.com/Lokaltog/powerline
This should install powerline here:
/usr/local/lib/python2.7/site-packages/powerline
Add the following lines to your .vimrc.
let g:Powerline_symbols = 'unicode'
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
Complete your configuration of powerline by cloning this repo:
git clone https://github.com/joshukraine/powerline-configs.git ~/.config/powerline
work on high sierra?