Skip to content

Instantly share code, notes, and snippets.

@mrosati84
Last active March 8, 2017 14:36
Show Gist options
  • Save mrosati84/4977459 to your computer and use it in GitHub Desktop.
Save mrosati84/4977459 to your computer and use it in GitHub Desktop.
My tmux configuration file
unbind C-b
set -g default-terminal screen-256color
set -g prefix C-a
bind C-a send-prefix
# fiddle with colors of status bar
set -g status-fg white
set -g status-bg colour234
# fiddle with colors of inactive windows
setw -g window-status-fg cyan
setw -g window-status-bg colour234
setw -g window-status-attr dim
# change color of active window
setw -g window-status-current-fg white
setw -g window-status-current-bg colour88
setw -g window-status-current-attr bright
# set color of regular and active panes
set -g pane-border-fg colour238
set -g pane-border-bg default
set -g pane-active-border-fg green
set -g pane-active-border-bg default
# set color of command line
set -g message-fg white
set -g message-bg colour22
set -g message-attr bright
set-option -g allow-rename off
set -g mouse on
set -g status-left-length 40
set -g status-left "#[fg=green]\"#S\""
set -g status-right "#[fg=green] #h | %d %b %R"
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
bind '~' split-window "exec htop"
set -g mode-keys vi
bind [ copy-mode
bind -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind -t vi-copy V rectangle-toggle
bind ] paste-buffer
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment