X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.tmux.conf;h=0984038332f49fecd547fe952efd7505c8fbffa3;hb=d06fbeb326fcb79a1ae26376ac8dfab12d76754d;hp=260087c5a2ea316b578bc6b29c4e89a7063d2903;hpb=fcf758d64a1380c63b31e15242f6472a1d621a55;p=dotfiles.git diff --git a/.tmux.conf b/.tmux.conf index 260087c..0984038 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,13 +1,3 @@ -# 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 @@ -41,29 +31,21 @@ 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-bg black -set-option -g message-fg white +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-bg cyan -set-option -g status-fg 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-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]' @@ -75,4 +57,18 @@ set-option -g status-right '' 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