Skip to content

Instantly share code, notes, and snippets.

@futoase
Created January 30, 2013 01:54
Show Gist options
  • Select an option

  • Save futoase/4669932 to your computer and use it in GitHub Desktop.

Select an option

Save futoase/4669932 to your computer and use it in GitHub Desktop.
set-option -g prefix C-t
set -g base-index 1
set -g pane-base-index 1
set-option -g default-terminal "screen-256color"
set -g status-fg white
set -g status-bg colour23
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
set-option -g default-command "~/bin/reattach-to-user-namespace -l $SHELL"
bind-key C-c run "tmux save-buffer -| ~/bin/reattach-to-user-namespace pbcopy"
bind-key C-v run "~/bin/reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
set-window-option -g mode-keys vi
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment