Created
November 27, 2015 09:28
-
-
Save RaphaelAudet/bf9882888f0768f34023 to your computer and use it in GitHub Desktop.
tmux.conf
This file contains 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
# UTF-8 | |
set-option -g status-utf8 on | |
set-window-option -g utf8 on | |
# Set 256-colour terminal | |
set -g default-terminal "screen-256color" | |
# windows starts at 1 | |
set -g base-index 1 | |
# Number of lines held in window history | |
set -g history-limit 10000 | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 60 | |
set -g status-left-length 30 | |
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]' | |
set -g status-right '#[fg=yellow]#(uptime | cut -d ',' -f 2-)' | |
# Highlight active window | |
set-window-option -g window-status-current-bg red | |
#setw -g window-status-current-bg red | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Automatically set window title | |
setw -g automatic-rename on | |
# Use mouse to select pane | |
set -g mouse-select-pane on | |
# enable scroll with the mouse | |
set-option -g mouse-select-window on | |
set -g mode-mouse on | |
# Mode-keys style for copy mode | |
setw -g mode-keys vi | |
# Default session | |
new -d -s "main" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment