Skip to content

Instantly share code, notes, and snippets.

@ebastos
Created May 28, 2014 17:13
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 ebastos/7f5efd0846cc160f2f13 to your computer and use it in GitHub Desktop.
Save ebastos/7f5efd0846cc160f2f13 to your computer and use it in GitHub Desktop.
tmux.conf
# Set prefix key to Ctrl-a
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# toggle last window like screen
bind-key C-a last-window
# scrollback buffer n lines
set -g history-limit 5000
# listen for activity on all windows
set -g bell-action any
# detach client
bind-key d detach
bind-key C-d detach
# alternatively, use better mnemonics for horizontal/vertical splits
bind-key - split-window -v
bind-key _ split-window -v
bind-key | split-window -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment