X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.tmux.conf;h=0984038332f49fecd547fe952efd7505c8fbffa3;hb=b6d98d86be0c8cecf208beb0379ad1459aa13c60;hp=64b6b0a1b4f0c0b6d05e3edb6e15e205214dc2dd;hpb=0392d068380d0ca8170f6959badd1a4dd4a67c70;p=dotfiles.git diff --git a/.tmux.conf b/.tmux.conf index 64b6b0a..0984038 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,24 +1,9 @@ -# 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 -# 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 ]' - # Pass [Ctrl]+[PgUp/PgDn] set-window-option -g xterm-keys on @@ -38,15 +23,52 @@ set-window-option -g aggressive-resize on set-option -g visual-activity on set-window-option -g monitor-activity on -# 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 - # 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 #T' # session, window number, pane number, title + +set-option -g message-style bg=black,fg=white + +# Soften status bar color from black on harsh green to black on cyan +set-option -g status-style bg=cyan,fg=black + +set-option -g pane-active-border-style bg=default,fg=red +set-option -g pane-border-style bg=default,fg=blue + +set-window-option -g mode-style bg=black + +set-window-option -g window-status-activity-style fg=yellow +set-window-option -g window-status-bell-style fg=red +set-window-option -g window-status-content-style fg=magenta +set-window-option -g window-status-current-style bg=blue,fg=white +set-window-option -g window-status-style bg=cyan,fg=black + +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 '' + # Increase scrollback lines set-option -g history-limit 1000 # R to reload config without restart -bind-key R source-file ~/.tmux.conf +bind-key R source-file ~/.tmux.conf \; display "Reloaded!" + +# 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 + +# Use vertical and horizontal chars to split the screen +bind-key | split-window -h +bind-key - split-window -v