Last active
December 28, 2015 09:29
-
-
Save rageshkrishna/7479615 to your computer and use it in GitHub Desktop.
Barebones tmux configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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