Skip to content

Instantly share code, notes, and snippets.

@rageshkrishna
Last active December 28, 2015 09:29
Show Gist options
  • Save rageshkrishna/7479615 to your computer and use it in GitHub Desktop.
Save rageshkrishna/7479615 to your computer and use it in GitHub Desktop.
Barebones tmux configuration
# If not running interactively, do not do anything
[[ $- != *i* ]] && return
# TMUX
if which tmux 2>&1 >/dev/null; then
# if no session is started, start a new session
test -z "$TMUX" && (tmux attach || tmux new-session)
fi
set -g status-utf8 on
set -g status-keys vi
set -g status-interval 1
set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@'
setw -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment