Skip to content

Instantly share code, notes, and snippets.

@Sigafoos
Created May 12, 2015 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sigafoos/c5d1f0f8a264e28617cb to your computer and use it in GitHub Desktop.
Save Sigafoos/c5d1f0f8a264e28617cb to your computer and use it in GitHub Desktop.
# Set colors
set-option -g default-terminal "screen-256color"
# Set reload key to r
bind r source-file ~/.tmux.conf
# Use vim bindings
setw -g mode-keys vi
# copy/paste
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# hjkl pane traversal
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Start numbering at 1
set -g base-index 1
# Set the title bar
set -g set-titles on
set -g set-titles-string '#(whoami) :: #H'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment