Skip to content

Instantly share code, notes, and snippets.

@eka
Created December 20, 2015 11:02
Show Gist options
  • Save eka/858c5052eb8bff5456c1 to your computer and use it in GitHub Desktop.
Save eka/858c5052eb8bff5456c1 to your computer and use it in GitHub Desktop.
set -g prefix C-a
unbind C-b
set -s escape-time 1
set -g base-index 1
set -g pane-base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind a send-prefix
bind | split-window -h
bind - split-window -v
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
set -g default-terminal "screen-256color"
# status bar colors
set -g status-fg white
set -g status-bg colour238
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg blue
set -g pane-active-border-bg black
set -g message-fg white
set -g message-bg black
set -g message-attr bright
# status bar
set -g status-left-length 40
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
set -g status-right "#[fg=cyan]%d %b %R"
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
setw -g mode-keys vi
# copy to clipboard
#set-option -g default-command "reattach-to-user-namespace -l zsh"
#bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
#bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer"
#source '/Users/eka/.vim/bundle/powerline/powerline/bindings/tmux/powerline.conf'
source '/Users/eka/powerline.conf'
# fix bug with El capitano freezing
#set -g status-interval 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment