vim: add powerline

This commit is contained in:
Thomas Ruoff
2013-02-20 00:42:50 +01:00
parent b22cf8faef
commit 50275aa512
2 changed files with 16 additions and 0 deletions

4
vimrc
View File

@@ -18,6 +18,7 @@ Bundle 'clones/vim-fuzzyfinder'
Bundle 'kchmck/vim-coffee-script'
Bundle 'scrooloose/syntastic.git'
Bundle 'myusuf3/numbers.vim.git'
Bundle 'Lokaltog/powerline'
Bundle 'flazz/vim-colorschemes'
" vim-scripts repos
@@ -106,6 +107,9 @@ if has('statusline')
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
endif
" Powerline
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
" VIM 7.3 FEATURES
if v:version >= 703

12
zshrc
View File

@@ -41,3 +41,15 @@ if [ -d $NODE_PATH ] ; then
PATH="$NODE_PATH/bin:$PATH"
export NODE_PATH
fi
# python pip local
PIP_PATH="$HOME/.local"
if [ -d $PIP_PATH ] ; then
PATH="$PIP_PATH/bin:$PATH"
export PIP_PATH
fi
# Vim Powerline if on path
if command -v powerline > /dev/null ; then
. ~/.vim/bundle/powerline/powerline/bindings/zsh/powerline.zsh
fi