mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 23:17:22 +01:00
vim: add powerline
This commit is contained in:
4
vimrc
4
vimrc
@@ -18,6 +18,7 @@ Bundle 'clones/vim-fuzzyfinder'
|
|||||||
Bundle 'kchmck/vim-coffee-script'
|
Bundle 'kchmck/vim-coffee-script'
|
||||||
Bundle 'scrooloose/syntastic.git'
|
Bundle 'scrooloose/syntastic.git'
|
||||||
Bundle 'myusuf3/numbers.vim.git'
|
Bundle 'myusuf3/numbers.vim.git'
|
||||||
|
Bundle 'Lokaltog/powerline'
|
||||||
Bundle 'flazz/vim-colorschemes'
|
Bundle 'flazz/vim-colorschemes'
|
||||||
|
|
||||||
" vim-scripts repos
|
" vim-scripts repos
|
||||||
@@ -106,6 +107,9 @@ if has('statusline')
|
|||||||
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
|
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Powerline
|
||||||
|
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
|
||||||
|
|
||||||
" VIM 7.3 FEATURES
|
" VIM 7.3 FEATURES
|
||||||
|
|
||||||
if v:version >= 703
|
if v:version >= 703
|
||||||
|
|||||||
12
zshrc
12
zshrc
@@ -41,3 +41,15 @@ if [ -d $NODE_PATH ] ; then
|
|||||||
PATH="$NODE_PATH/bin:$PATH"
|
PATH="$NODE_PATH/bin:$PATH"
|
||||||
export NODE_PATH
|
export NODE_PATH
|
||||||
fi
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user