Powerline
Install powerline-status
pip install powerline-status
pip show powerline-status
Name: powerline-status
Version: 2.5
Summary: The ultimate statusline/prompt utility.
Home-page: https://github.com/powerline/powerline
Author: Kim Silkebaekken
Author-email: kim.silkebaekken+vim@gmail.com
License: MIT
Location: /usr/local/lib/python3.5/site-packages
Requires:
Edit .bash_profile
. /usr/local/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh
Edit .zshrc
source /usr/local/lib/python3.5/site-packages/powerline/bindings/zsh/powerline.zsh
Install vim
brew install vim --with-override-system-vi --with-python --with-ruby --with-perl
Download PowerlineSymbols font
https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
Edit .vimrc
set rtp+=/usr/local/lib/python3.5/site-packages/powerline/bindings/vim
" These lines setup the environment to show graphics and colors correctly.
set nocompatible
set t_Co=256
let g:minBufExplForceSyntaxEnable = 1
" python from powerline.vim import setup as powerline_setup
" python powerline_setup()
" python del powerline_setup
if ! has('gui_running')
set ttimeoutlen=10
augroup FastEscape
autocmd!
au InsertEnter * set timeoutlen=0
au InsertLeave * set timeoutlen=1000
augroup END
endif
set laststatus=2 " Always display the statusline in all windows
set guifont=Inconsolata\ for\ Powerline:h14
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)