Skip to content

Instantly share code, notes, and snippets.

@supr
Created November 27, 2012 21:49
Show Gist options
  • Save supr/4157337 to your computer and use it in GitHub Desktop.
Save supr/4157337 to your computer and use it in GitHub Desktop.
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 120
set-option -g status-right-length 90
set-option -g status-left "#(~/code/tmux-powerline/status-left.sh)"
set-option -g status-right "#(~/code/tmux-powerline/status-right.sh)"
# Saner splitting.
bind v split-window -h
bind s split-window -v
# Pane movement
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Pane resizing
bind -r Left resize-pane -L 2
bind -r Down resize-pane -D 2
bind -r Up resize-pane -U 2
bind -r Right resize-pane -R 2
# Window movement
bind -r , select-window -t :-
bind -r . select-window -t :+
# 256 colors please
set -g default-terminal "xterm-256color"
setw -g monitor-activity on
# Autorename sanely.
setw -g automatic-rename on
# Copy mode
setw -g mode-keys vi
bind [ copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
source ~/code/tmux-colors-solarized/tmuxcolors.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment