-
-
Save islanddog/7b24a2935ed79911bbbb8691c17bad64 to your computer and use it in GitHub Desktop.
~/.tmux.conf
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
# Remap prefix to A | |
set -g prefix C-a | |
bind C-a send-prefix | |
unbind C-b | |
# Reload the file with Prefix r | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Quality of life stuff | |
set -g history-limit 10000 | |
# Set Terminal Emulator Titles - OFF by default | |
set -g set-titles on | |
## Join Windows | |
bind-key j command-prompt -p "join pan from:" "join-pane -s '%%'" | |
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" | |
# Search Mode VI (default is emac) | |
set-window-option -g mode-keys vi | |
# Set the default terminal mode to 256color mode | |
set -g default-terminal "screen-256color" | |
# Enable activity alerts | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Enable Logging Plugin | |
run-shell ~/tmux-logging/logging.tmux | |
#Better TMUX Colors | |
# Set the status line's colors | |
set -g status-style fg=white,bg=black | |
# Set the color of the window list | |
setw -g window-status-style fg=cyan,bg=default,dim | |
# Set colors for the active window | |
setw -g window-status-current-style fg=white,bg=red,bright | |
# Pane colors | |
set -g pane-border-style fg=green,bg=black | |
set -g pane-active-border-style fg=white,bg=yellow | |
# Command / message line | |
set -g message-style fg=white,bg=black,bright | |
# Status line left side | |
set -g status-left-length 40 | |
set -g status-left "#[fg=green]Session: #S #[fg=yellow]W#I #[fg=cyan]P#P" | |
# No longer necessary since tmux 2.1 | |
# set -g status-utf8 on | |
# Status line right side | |
# 15% | 25 Oct 14:50 | |
set -g status-right "#[fg=cyan]%d %b %R #[fg=magenta]#H" | |
# Update the status bar every sixty seconds | |
set -g status-interval 60 | |
# Center the window list | |
set -g status-justify centre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment