Added a new tmux style for nested sessions
This commit is contained in:
parent
7e1dc02d1b
commit
89b2ee2405
12
.tmux.nested.conf
Normal file
12
.tmux.nested.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#+--- Colors ---+
|
||||||
|
set -g status-bg brightblack
|
||||||
|
set -g status-fg white
|
||||||
|
|
||||||
|
#+--- Bars ---+
|
||||||
|
set -g status-left "#[fg=black,bg=green,bold] #S "
|
||||||
|
set -g status-right "#{prefix_highlight}#[fg=white,bg=red,bold] #h "
|
||||||
|
|
||||||
|
#+--- Windows ---+
|
||||||
|
set -g window-status-format " #[fg=white,bg=black] #I #[fg=white,bg=black]#W #F "
|
||||||
|
set -g window-status-current-format " #[fg=white,bg=red] #I#[fg=white,bg=red,nobold,noitalics,nounderscore] #[fg=white,bg=red]#W #F "
|
||||||
|
set -g window-status-separator ""
|
@ -30,6 +30,10 @@ for ((i=1; i <= $#fpath; ++i)); do
|
|||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
## If tmux session is nested, source modified config (e.g. for overwriting styles)
|
||||||
|
if [ -n "$TMUX" ]; then
|
||||||
|
tmux source-file ~/.tmux.nested.conf
|
||||||
|
fi
|
||||||
|
|
||||||
## Update or install vim plugins
|
## Update or install vim plugins
|
||||||
#vim -i NONE +PlugUpdate +PlugClean! +qal
|
#vim -i NONE +PlugUpdate +PlugClean! +qal
|
||||||
|
Loading…
Reference in New Issue
Block a user