Skip to content

Instantly share code, notes, and snippets.

@gazoombo

gazoombo/.tmux.conf

Created Jan 27, 2012
Embed
What would you like to do?
My current ~/.tmux.conf
# Solarized colorscheme/theme from
source-file git/github/tmux-colors-solarized/tmuxcolors.conf
# Report that we can handle 256 colors
set -g default-terminal "screen-256color"
# Rebind prefix to avoid conflicts
#unbind C-b
#set -g prefix C-q
#bind C-q send-prefix
# OhMyZsh ftw!
set -g default-command /bin/zsh
set -g default-shell /bin/zsh
# I'm a Vim user, this makes navigation easier
setw -g mode-keys vi
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
# '0' is at the wrong end of the keyboard
set -g base-index 1
# Just click it
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g mouse-resize-pane on
# Scroll your way into copy mode (scrollback buffer)
# and select text for copying with the mouse
setw -g mode-mouse on
# I like to give my windows descriptive names
set-window-option -g automatic-rename off
# Toggle sending keystrokes to all panes in a window
bind-key a set-window-option synchronize-panes
# Don't lose track of SSH_AGENT etc. from parent environment.
set -g update-environment -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.