Skip to content

Instantly share code, notes, and snippets.

@ihodes
Created July 15, 2013 19:56
Show Gist options
  • Save ihodes/6002895 to your computer and use it in GitHub Desktop.
Save ihodes/6002895 to your computer and use it in GitHub Desktop.
# fix copy-paste in OSX
set-option -g default-command "reattach-to-user-namespace -l bash"
set -g prefix C-z
unbind C-b
bind C-z send-prefix
set -g status on
set -g status-keys emacs
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-bg blue
set -g status-justify left
set -g status-left ''
set -g status-right '#P | #[bg=black]#S#| #7H | %F %s'
set -g status-right-length 60
set -g bell-action any
set -g visual-bell off
set -g visual-activity on
set -g visual-content on
set -g history-limit 1000000
set -g default-path '/Users/isaachodes'
setw -g mode-keys emacs
setw -g mode-mouse on
setw -g utf8 on
# set -g status-bg cyan
setw -g window-status-current-attr bold
bind-key = copy-mode
bind-key ! setw monitor-activity
bind-key '|' split-window -h
bind-key _ split-window
# bind-key 1 break-pane
# bind-key 2 select-layout even-vertical
# bind-key 3 select-layout even-horizontal
set -g pane-active-border-bg blue
bind n new-window
bind c copy-mode
bind b list-buffers
bind x delete-buffer
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# initialize sessions
bind S source-file ~/.tmux/default
# fix colors (messes up repainting of the term though)
#set -g default-terminal "xterm-256color"
set -g default-terminal "screen-256color"
set -g base-index 1
set -g pane-base-index 1
setw -g aggressive-resize on
set-window-option -g xterm-keys on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment