Spiced up .tmux.conf and updated README
This commit is contained in:
25
.tmux.conf
25
.tmux.conf
@@ -20,11 +20,11 @@ bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
## resize panes using PREFIX H, J, K, L
|
||||
bind H resize-pane -L 5
|
||||
bind J resize-pane -D 5
|
||||
bind K resize-pane -U 5
|
||||
bind L resize-pane -R 5
|
||||
# resize panes using PREFIX H, J, K, L
|
||||
bind -r H resize-pane -L 2
|
||||
bind -r J resize-pane -D 2
|
||||
bind -r K resize-pane -U 2
|
||||
bind -r L resize-pane -R 2
|
||||
|
||||
## PREFIX | to split horizontally
|
||||
## PREFIX - to split vertically
|
||||
@@ -37,10 +37,13 @@ set -sg escape-time 1
|
||||
## Tab through active windows
|
||||
bind Tab next-window
|
||||
|
||||
## Rename window
|
||||
bind , command-prompt "rename-window '%%'"
|
||||
|
||||
## ----------------------
|
||||
## Status Bar
|
||||
## -----------------------
|
||||
set-option -g status on # turn the status bar on
|
||||
set -g status on # turn the status bar on
|
||||
set -g status-interval 5 # set update frequencey (default 15 seconds)
|
||||
set -g status-justify centre # center window list for clarity
|
||||
|
||||
@@ -55,12 +58,12 @@ set -g pane-active-border-style bg=colour0,fg=colour2
|
||||
set-option -g message-style bg=colour0,fg=colour13
|
||||
|
||||
## set window list colors
|
||||
set-window-option -g window-status-style fg=colour8,bg=colour0
|
||||
set-window-option -g window-status-current-style fg=colour2,bg=colour0,bright
|
||||
setw -g window-status-style fg=colour8,bg=colour0
|
||||
setw -g window-status-current-style fg=colour2,bg=colour0,bright
|
||||
|
||||
## Titles
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name, active(or not)
|
||||
set -g set-titles on
|
||||
set -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name, active(or not)
|
||||
|
||||
#set inactive/active window styles
|
||||
# set -g window-style fg=colour0,bg=colour0
|
||||
@@ -82,7 +85,7 @@ set -g status-right-length 60
|
||||
set -g status-right "S:#S W:#I P:#P | %Y-%m-%d %H:%M"
|
||||
|
||||
# set window and pane index to 1 (0 by default)
|
||||
set-option -g base-index 1
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
## visual notification of activity in other windows
|
||||
|
||||
Reference in New Issue
Block a user