Skip to content

Instantly share code, notes, and snippets.

@timofurrer
Created April 28, 2013 12:25
Show Gist options
  • Save timofurrer/5476739 to your computer and use it in GitHub Desktop.
Save timofurrer/5476739 to your computer and use it in GitHub Desktop.
my tmux conf
# tuxtimo's tmux configuration
# Reload config
bind r source-file ~/.tmux.conf \; display "Configuration reloaded..."
# set terminal colors
set -g default-terminal "screen-256color"
# pane selection (vim style)
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# pane resizing (vim style)
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
# maximize and minimize active pane
unbind +
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
unbind -
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment