[tmux] remove powerline

pull/28/head
Alpha Chen 7 years ago
parent 364b684757
commit 73d3aa4675

3
.gitmodules vendored

@ -1,6 +1,3 @@
[submodule "src/powerline"]
path = src/powerline
url = https://github.com/powerline/powerline.git
[submodule "src/prezto"]
path = src/prezto
url = https://github.com/kejadlen/prezto.git

@ -25,6 +25,23 @@ bind-key -T copy-mode-vi 'V' send -X select-line
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# colors
set -g pane-active-border-fg brightred
# statusline (shamelessly stolen from powerline)
set-option -g status-interval 2
set-option -g status-left "#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold]#[noitalics]#[nounderscore],#[fg=colour16]#[bg=colour254]#[bold]#[noitalics]#[nounderscore]} #S #{?client_prefix,#[fg=colour31],#[fg=colour254]}#[bg=colour235]#[nobold] "
set-option -g status-left-length 20
set-option -g status-right ""
set-option -g status-style fg=colour231,bg=colour235
set-option -g window-status-activity-style fg=colour11,bg=colour235
set-option -g window-status-bell-style fg=colour1,bg=colour235
set-option -g window-status-current-format "#[fg=colour235,bg=colour31,nobold,noitalics,nounderscore] #[fg=colour117,bg=colour31,nobold,noitalics,nounderscore]#I#F#[fg=colour231,bg=colour31,bold,noitalics,nounderscore] #W #[fg=colour31,bg=colour235,nobold,noitalics,nounderscore]"
set-option -g window-status-format "#[fg=colour244,bg=colour235,nobold,noitalics,nounderscore] #I#{?window_flags,#F, } #[fg=colour240,bg=colour235,nobold,noitalics,nounderscore]#[default]#W "
set-option -g window-status-last-style fg=colour31,bg=colour235
set-option -g window-status-style fg=colour249,bg=colour235
## etc
set-window-option -g mode-keys vi
set-option -sg escape-time 1 # increase vim responsiveness
@ -71,6 +88,4 @@ bind -r = resize-pane -U 3
unbind r
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux.conf'
source-file ~/.dotfiles/src/powerline/powerline/bindings/tmux/powerline.conf
if-shell "[[ -e ~/.tmux.conf.local ]]" "source-file ~/.tmux.conf.local"

@ -1 +0,0 @@
Subproject commit c3261d4e57905420a5a18da5abeafbb327cca256
Loading…
Cancel
Save