Skip to content

Instantly share code, notes, and snippets.

@lcaballero
Created December 19, 2013 08:37
Show Gist options
  • Save lcaballero/8036204 to your computer and use it in GitHub Desktop.
Save lcaballero/8036204 to your computer and use it in GitHub Desktop.
Tmux conf dot file stuff.
# .tmux.conf
bind | split-window -h
bind - split-window -v
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
# .bashrc stuff for tmux
if [[ "$TERM" != "screen-256color" ]]
then
tmux attach-session -t "$USER" || tmux new-session -s "$USER"
exit
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment