This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set prefix to Ctrl-Space | |
unbind C-b | |
set -g prefix C-Space | |
bind Space send-prefix | |
# Enable 256 colors in tmux | |
set -g default-terminal "screen-256color" | |
# Start window indexing at 1 (makes it easier to switch windows using number keys) | |
set-option -g base-index 1 | |
setw -g pane-base-index 1 | |
# More reasonable split window shortcuts | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# Don't rename windows automatically | |
set-option -g allow-rename off | |
# Quick reloading of tmux config | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Use arrow keys to change panes | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# Enables mouse interactions (switching windows/panes, scrolling, etc) | |
set -g mouse on | |
# Reattach to user namespace | |
set -g default-command "reattach-to-user-namespace -l /usr/local/bin/zsh" | |
###################### | |
### DESIGN CHANGES ### | |
###################### | |
set-option -g pane-border-fg colour235 | |
set-option -g pane-active-border-fg colour240 | |
set-option -g message-bg black | |
set-option -g message-fg brightred | |
## Status Bar | |
set -g status-justify left | |
set -g status-bg default | |
set -g status-fg colour12 | |
set -g status-interval 2 | |
# Messaging ( The bar that appears when entering commands with prefix-: ) | |
set -g message-fg black | |
set -g message-bg yellow | |
set -g message-command-fg blue | |
set -g message-command-bg black | |
# Window mode | |
setw -g mode-bg colour6 | |
setw -g mode-fg colour0 | |
# Window status | |
setw -g window-status-format " #F#I:#W#F " | |
setw -g window-status-current-format " #F#I:#W#F " | |
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W " | |
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W " | |
setw -g window-status-current-bg colour0 | |
setw -g window-status-current-fg colour11 | |
setw -g window-status-current-attr dim | |
setw -g window-status-bg green | |
setw -g window-status-fg black | |
setw -g window-status-attr reverse | |
# Gets rid of the "[0]" thing on the left of status-bar | |
set -g status-left '' | |
# Modes ? | |
setw -g clock-mode-colour colour135 | |
setw -g mode-attr bold | |
setw -g mode-fg colour196 | |
setw -g mode-bg colour238 | |
# Panes | |
# set -g pane-border-bg colour235 | |
set -g pane-border-fg colour238 | |
# set -g pane-active-border-bg colour236 | |
set -g pane-active-border-fg colour51 | |
# Statusbar | |
set -g status-position bottom | |
set -g status-bg colour234 | |
set -g status-fg colour137 | |
set -g status-attr dim | |
set -g status-left '' | |
set -g status-right '#[fg=color233,bg=colour241,bold] %b %d #[fg=colour233,bg=colour245,bold] %H:%M ' | |
set -g status-right-length 50 | |
set -g status-left-length 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment