Created
October 14, 2014 07:59
-
-
Save davidsm/daeb0787dcfb3c9982a0 to your computer and use it in GitHub Desktop.
Tmux config
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
## .tmux.conf | |
set -g status-bg default | |
set -g status-fg white | |
set -g status-left "#[fg=green]#H" | |
set-window-option -g window-status-current-bg blue | |
set -g status-interval 10 | |
bind M-w run-shell "tmux save-buffer - | xclip -i" | |
unbind [ | |
bind < copy-mode | |
unbind ] | |
bind C-v paste-buffer | |
set -g default-terminal "screen" | |
## .bashrc | |
# Set the correct X display on login for tmux background shell | |
for name in `tmux ls -F '#{session_name}'`; do | |
tmux setenv -g -t $name DISPLAY $DISPLAY #set display for all sessions | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment