tmux: more status line tweaking
This commit is contained in:
parent
f52ebc6672
commit
71f9710d82
2 changed files with 14 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
set -g status-left-length 32
|
||||
set -g status-right-length 32
|
||||
set -g status-justify centre
|
||||
set -g status-justify left
|
||||
|
||||
# Color definitions
|
||||
# SOLARIZED TMUX
|
||||
|
@ -23,16 +23,21 @@ set -g status-justify centre
|
|||
# Green colour2
|
||||
|
||||
set -g status-left "\
|
||||
#[fg=colour3]#{session_name} #{?client_prefix,#[fg=colour1],#[fg=colour10]}> \
|
||||
#[fg=colour2]#{window_index} #{window_name} #{?client_prefix,#[fg=colour1],#[fg=colour10]}> \
|
||||
#[fg=colour6]#{pane_index} #{pane_current_command} #{?client_prefix,#[fg=colour1],#[fg=colour10]} "
|
||||
#[fg=colour3]#{session_name} \
|
||||
#{?client_prefix,#[fg=colour1],#[fg=colour10]}> \
|
||||
#[fg=colour2]#{window_index}.#{pane_index} \
|
||||
#{?client_prefix,#[fg=colour1],#[fg=colour10]}> \
|
||||
#[fg=colour6]#{pane_id}#{?pane_marked, #[fg=colour9]M,} \
|
||||
#{?client_prefix,#[fg=colour1]>>>,#[fg=colour10]> } "
|
||||
|
||||
set -g status-right "\
|
||||
#[fg=colour6]C #{client_pid} #{?client_prefix,#[fg=colour1],#[fg=colour10]}< \
|
||||
#[fg=colour2]S #{pid} #{?client_prefix,#[fg=colour1],#[fg=colour10]}< \
|
||||
#[fg=colour6]#{pid} \
|
||||
#{?client_prefix,#[fg=colour1],#[fg=colour10]}< \
|
||||
#[fg=colour2]#{host_short} \
|
||||
#{?client_prefix,#[fg=colour1],#[fg=colour10]}< \
|
||||
#[fg=colour3]%b %d %H:%M"
|
||||
|
||||
setw -g window-status-current-format " #{?client_prefix,#[fg=colour1],}#{window_index}:#{window_name}#{window_flags} "
|
||||
setw -g window-status-current-format "#{window_index}:#{window_name}#{window_flags} "
|
||||
setw -g window-status-format "#{window_index}:#{window_name}#{window_flags} "
|
||||
|
||||
%if #{==:#{BACKGROUND},dark}
|
||||
|
|
|
@ -7,7 +7,6 @@ set -g prefix C-Space
|
|||
# Open new windows/panes with the path in current pane
|
||||
bind c new-window -c '#{pane_current_path}'
|
||||
bind | split-window -h -c '#{pane_current_path}'
|
||||
bind < split-window -h -c '#{pane_current_path}'
|
||||
bind - split-window -v -c '#{pane_current_path}'
|
||||
|
||||
bind x kill-pane
|
||||
|
|
Loading…
Add table
Reference in a new issue