aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.conf3
-rwxr-xr-xvimrc4
2 files changed, 5 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index 968a1d8..c6717e6 100644
--- 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 bc9d40b..9c9d7ad 100755
--- 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