Skip to content

Instantly share code, notes, and snippets.

View gazoombo's full-sized avatar

Mike English (old) gazoombo

View GitHub Profile
@gazoombo
gazoombo / .tmux.conf
Created January 27, 2012 20:27
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
@gazoombo
gazoombo / .tmux.conf
Created January 27, 2012 18:48
use xterm mouse reporting in tmux
# 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
@gazoombo
gazoombo / .tmux.conf
Created January 27, 2012 18:46
vim keybindings for tmux
# I'm a Vim user, this makes navigation easier
setw -g mode-keys vi # I especially like being able to search with /,? when in copy-mode
unbind-key j
bind-key j select-pane -D # Similar to 'C-w j' to navigate windows in Vim
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
@gazoombo
gazoombo / .tmux.conf
Created January 27, 2012 18:44
rebind prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
@gazoombo
gazoombo / .profile
Created January 27, 2012 18:40
Aliases for shared tmux sessions
alias tmuxmulti="if tmux -S /tmp/multi has -t AO-PPS; then reattach-to-user-namespace tmux -S /tmp/multi attach; else reattach-to-user-namespace tmux -S /tmp/multi new -s AO-PPS; fi"
alias tmuxer="ssh username@xxx.xxx.xxx.xxx -t '/opt/local/bin/tmux -S /tmp/multi attach'"