tweak the top menu a bit
This commit is contained in:
parent
5af6a1b27b
commit
7805a51c73
1 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
# afx .tmux.conf 2017
|
||||
# afx .tmux.conf 2017-2018
|
||||
# --- v7.1 ---
|
||||
|
||||
# unbind all does not recover the default binds but we can list them
|
||||
# and fill the 'gaps' with manual rebind in the conf file using this command:
|
||||
|
@ -13,6 +14,7 @@ bind-key Right send-key M-Right
|
|||
#set tab names
|
||||
set-window-option -g automatic-rename on
|
||||
set-option -g set-titles on
|
||||
set -g set-titles-string "#(tmux ls | awk -F: '{print $1}' | xargs | sed 's/\ / | /g')"
|
||||
|
||||
set -g base-index 1 #0 is too far from ` ;)
|
||||
set -g status-keys vi
|
||||
|
@ -21,7 +23,7 @@ set -sg escape-time 0 #No delay for escape key press
|
|||
set -g terminal-overrides "screen.xterm-new" #disable italic in searches
|
||||
setw -g mode-keys vi
|
||||
#setw -g mode-mouse off #tmux 1.9
|
||||
#set-option -g mouse on #tmux 2.1
|
||||
set-option -g mouse off #tmux 2.1
|
||||
|
||||
bind-key r source-file ~/.tmux.conf
|
||||
bind-key R refresh-client
|
||||
|
@ -87,7 +89,7 @@ set-option -g bell-action none
|
|||
set -g default-terminal "screen-256color"
|
||||
set -g status-position top
|
||||
set -g status-left ''
|
||||
set -g status-utf8 on
|
||||
#set -g status-utf8 on
|
||||
# Basic status bar colors
|
||||
set -g status-fg colour240
|
||||
set -g status-bg colour233
|
||||
|
@ -95,12 +97,12 @@ set -g status-bg colour233
|
|||
set -g status-left-bg colour233
|
||||
set -g status-left-fg colour243
|
||||
set -g status-left-length 40
|
||||
set -g status-left "#[fg=colour232,bg=colour39,bold] #S #[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235] #I:#P "
|
||||
set -g status-left "#[fg=colour232,bg=colour39,bold] #I:#P #[fg=colour233,bg=colour240] #(id -nu) "
|
||||
# Right side of status bar
|
||||
set -g status-right-bg colour233
|
||||
set -g status-right-fg colour243
|
||||
set -g status-right-length 150
|
||||
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H "
|
||||
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] v7.1 "
|
||||
# Window status
|
||||
set -g window-status-format " #I:#W#F "
|
||||
set -g window-status-current-format " #I:#W#F "
|
||||
|
@ -135,4 +137,3 @@ set -g message-command-fg black
|
|||
# Mode
|
||||
set -g mode-bg colour39
|
||||
set -g mode-fg colour232
|
||||
|
||||
|
|
Loading…
Reference in a new issue