Skip to content

Instantly share code, notes, and snippets.

@guillaumewuip
Created August 13, 2015 16:46
Show Gist options
  • Save guillaumewuip/358098304a36a82eabbe to your computer and use it in GitHub Desktop.
Save guillaumewuip/358098304a36a82eabbe to your computer and use it in GitHub Desktop.
//Want to use 2 terminal window to see the same tmux session
//eg. showing one tmux window on one screen, an other on an other screen
//on the second terminal
//attach an existing tmux session
tmux new-session -t <the_session_you_want_to_connect_to>
//resize only the current window to the smallest client (not all the session)
//this way you can work on two different tmux window without having the whole tmux sessions resised
ctrl+b :set-window-option -g aggressive-resize on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment