]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Updates powerline installation data
authorBen Beltran <redacted>
Tue, 26 May 2015 16:52:53 +0000 (11:52 -0500)
committerBen Beltran <redacted>
Tue, 26 May 2015 16:52:53 +0000 (11:52 -0500)
tmux.conf
vimrc

index 968a1d8ba3bc24070aea8f9b36c78f6b2752e5dc..c6717e64c585e339b7398dd2e551e29ba8739089 100644 (file)
--- a/tmux.conf
+++ b/tmux.conf
@@ -24,7 +24,8 @@ bind - split-window -v
 # set -g status-right-length 70
 
 # Powerline
-source ~/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf
+run-shell "powerline-daemon -q"
+source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
 
 # Better powerline highlighting.
 set-window-option -g window-status-activity-attr bold,blink,underscore
diff --git a/vimrc b/vimrc
index bc9d40ba4edd220f932b262660a13a8b3a08a3b9..9c9d7adfdf41e254ff9f109e78ef15bd641e3754 100755 (executable)
--- a/vimrc
+++ b/vimrc
@@ -161,7 +161,9 @@ set nofoldenable
 set foldlevel=1
 
 " powerline stuff
-set rtp+=~/Library/Python/2.7/lib/python/site-packages/powerline/bindings/vim
+python from powerline.vim import setup as powerline_setup
+python powerline_setup()
+python del powerline_setup
 
 " Fix CtrlP root folder and add some ignores
 let g:ctrlp_working_path_mode = 0