Last active
April 18, 2020 03:23
-
-
Save kurrik/ec0a83cf568b9c16b8ce08dd407adf65 to your computer and use it in GitHub Desktop.
Remote .tmux.conf (handles nesting, different colors)
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
# Install: | |
# curl https://gist.githubusercontent.com/kurrik/ec0a83cf568b9c16b8ce08dd407adf65/raw/.tmux.conf > ~/.tmux.conf | |
# | |
# Instructions: | |
# When nested, use an extra `ctrl-b` to issue commands to the nested session. | |
# E.g. to go to the next window `ctrl-b ctrl-b ctrl-n` | |
# Colors | |
set -g default-terminal "xterm-256color" | |
# Mouse stuff | |
set -g mode-mouse on | |
set -g mouse-select-window on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
# Start a new session if one doesn't exist | |
# https://coderwall.com/p/aohfrg/smux-ssh-with-auto-reconnect-tmux-a-mosh-replacement | |
new-session -s main | |
###################### | |
### DESIGN CHANGES ### | |
###################### | |
# Panes | |
set -g pane-border-fg black | |
set -g pane-active-border-fg brightred | |
## Status bar design. Nested session is red. | |
set -g status-bg red | |
set -g status-fg default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment