Skip to content

Instantly share code, notes, and snippets.

@TrevorBasinger
Created May 24, 2016 22:48
Show Gist options
  • Save TrevorBasinger/0a85037d20a2bc51557c493a0d4ddf0a to your computer and use it in GitHub Desktop.
Save TrevorBasinger/0a85037d20a2bc51557c493a0d4ddf0a to your computer and use it in GitHub Desktop.
# set prefix key to ctrl+a until I have time to adapt
unbind C-b
set -g prefix C-s
# send the prefix to client inside window (ala nested sessions)
bind-key S send-prefix
bind-key s choose-session
set -g base-index 1
set -g pane-base-index 1
# set -g set-titles on
set -g default-terminal "screen-256color"
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
set -gw mode-keys vi
setw -g monitor-activity on
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind K kill-session
# Status Bar
set -g status-bg default
set -g status-fg cyan
set -g status-interval 4
set -g status-left ''
set -g status-right ''
#set -g status-left '#[fg=white,bold]#S#[fg=cyan] | #[fg=white,bold]#(echo $USER) '
#set -g status-right '#[fg=white]#H#[fg=cyan] | #[fg=white]#(uname -r)#[default]'
set -g status-justify centre
# Set window split options
set-option -g pane-active-border-fg white
set-option -g pane-active-border-bg default
set-option -g pane-border-fg black
set-option -g pane-border-bg default
# # Highlighting the active window in status bar
setw -g window-status-current-bg default
setw -g window-status-current-fg default
setw -g window-status-bg default
setw -g window-status-fg white
setw -g window-status-activity-attr blink
setw -g window-status-activity-bg default
setw -g window-status-activity-fg default
setw -g window-status-bell-attr blink
setw -g window-status-bell-bg default
setw -g window-status-bell-fg default
#setw -g window-status-format '#[fg=default]#[bg=default] #I #[bg=default]#[fg=black,bold] #W '
#setw -g window-status-current-format '#[fg=default]#[bg=black,bold] #I #[fg=black,bold]#[bg=default] #W '
setw -g window-status-format '#[fg=grey] ● '
#setw -g window-status-current-format '#[fg=white,bold] ● '
#setw -g window-status-format '#[fg=grey] • '
setw -g window-status-current-format '#[fg=red,bold] • '
# Shhhhhh
#setw -g monitor-activity off
#setw -g monitor-content off
#set -g visual-activity off
bind-key R source-file ~/.tmux.conf
#display-message "Config Loaded."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment