Skip to content

Instantly share code, notes, and snippets.

@xlbruce
Last active September 1, 2016 19:31
Show Gist options
  • Save xlbruce/2d3eb4ecaaffb97c186453c1a73214e9 to your computer and use it in GitHub Desktop.
Save xlbruce/2d3eb4ecaaffb97c186453c1a73214e9 to your computer and use it in GitHub Desktop.
My Tmux configuration file to ease management of terminal screen
# Set ^a as default key-binding
set -g prefix C-a
unbind-key C-b
# use | and - to split the windows
bind-key | split-window -h
bind-key - split-window -v
# make the first window number start at 1
set -g base-index 1
# from http://endot.org/2011/12/06/my-tmux-configuration/
# keybindings to make resizing easier
bind -r C-h resize-pane -L
bind -r C-j resize-pane -D
bind -r C-k resize-pane -U
bind -r C-l resize-pane -R
# Mouse support
set mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment