Skip to content

Instantly share code, notes, and snippets.

Created October 14, 2014 07:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Tmux config
## .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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment