X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.tmux.conf;h=b59749017409c5c14a1ef7476249148b53352573;hb=f2763b86760c3b58c1665b0476730aa4db80d858;hp=bfecde3653818eb7d8cd5dbd9fb9137f87e68b41;hpb=02eb3e6b75a0c38eb34d55b61c3179ee324daaf1;p=dotfiles.git diff --git a/.tmux.conf b/.tmux.conf index bfecde3..b597490 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,15 +1,18 @@ +# Set the command prefix to match GNU screen (CTRL+a) +# set-option -g prefix C-a +# +# Use C-a C-a key to send prefix instead of the default +# unbind-key C-b +# bind-key C-a send-prefix +# +# C-a for last-window +# bind-key C-a last-window + # Start window numbers at 1 to match keyboard order with tmux window order set-option -g base-index 1 set-option -g pane-base-index 1 # Renumber windows sequentially after closing any of them -#set-option -g renumber-windows on -#Commented out - it doesn't work with my tmux. -#Perhaps tmux in Debian 7 is too old. - -# Attempt to set the client terminal title -set-option -g set-titles on -# Terminal emulator window title -set -g set-titles-string 'tmux #S:#I.#P [ #W ]' +set-option -g renumber-windows on # Pass [Ctrl]+[PgUp/PgDn] set-window-option -g xterm-keys on @@ -30,18 +33,46 @@ set-window-option -g aggressive-resize on set-option -g visual-activity on set-window-option -g monitor-activity on +# Clock color +set-window-option -g clock-mode-colour black + +# Attempt to set the client terminal title +set-option -g set-titles on +# Terminal emulator window title +set-option -g set-titles-string 'tmux #S.#I.#P #W #T' # session, window number, pane number, window name, title + +set-option -g message-bg black +set-option -g message-fg white + # Soften status bar color from black on harsh green to black on cyan -set-option -g status-fg black set-option -g status-bg cyan +set-option -g status-fg black -# Clock color -set-window-option -g clock-mode-colour black +set-option -g pane-active-border-bg default +set-option -g pane-active-border-fg green +set-option -g pane-border-bg default +set-option -g pane-border-fg white + +set-window-option -g mode-bg black + +set-window-option -g window-status-bg cyan +set-window-option -g window-status-current-attr default +set-window-option -g window-status-current-fg blue +set-window-option -g window-status-bell-attr default +set-window-option -g window-status-bell-fg red +set-window-option -g window-status-content-attr default +set-window-option -g window-status-content-fg yellow +set-window-option -g window-status-activity-attr default +set-window-option -g window-status-activity-fg yellow + +set-option -g status-left '[#S.#I.#P]' + +# set-option -g status-interval 5 +# set-option -g status-right '%H:%M' +set-option -g status-right '#T' # Increase scrollback lines set-option -g history-limit 1000 -# C-b C-a for last-window -bind-key C-a last-window - -# Reload config without restart -bind R source-file ~/.tmux.conf +# R to reload config without restart +bind-key R source-file ~/.tmux.conf