Skip to content

Instantly share code, notes, and snippets.

@damien-biasotto
Created December 17, 2013 08:19
Show Gist options
  • Save damien-biasotto/8001691 to your computer and use it in GitHub Desktop.
Save damien-biasotto/8001691 to your computer and use it in GitHub Desktop.
# ctrl+a
set -g prefix C-a
unbind C-b
bind-key C-a last-window
# delay between prefix and command
set -s escape-time 1
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# splitting panes
bind | split-window -h
bind - split-window -v
# mouse handling
setw -g mode-mouse off
set -g mouse-select-pane off
set -g mouse-resize-pane off
set -g mouse-select-window off
set -g default-terminal "xterm-256color"
# monitor activity
set-window-option -g monitor-activity on
set -g visual-activity on
set-window-option -g window-status-activity-attr bold,underscore
# start index at 1
set -g base-index 1
set -g pane-base-index 1
# patch to catch wait programs
#set-option -g default-command "reattach-to-user-namespace -l zsh"
# quit tmux
bind \ kill-server
# ssh-agent fix
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
set -g utf8 on
# powerline
source $HOME/.dotfiles/.python-packages/lib/python2.7/site-packages/Powerline-beta-py2.7.egg/powerline/bindings/tmux/powerline.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment