From b7347a9409b5b03d2b2b7cf7a83f7da0ea7f2f58 Mon Sep 17 00:00:00 2001 From: Sam Sherar Date: Tue, 4 Mar 2014 19:24:22 +0000 Subject: [PATCH] Adding two invaluable commands to tmux cheatsheet * Detaching an already attached tmux session - great for when you are moving from a phone for example to a laptop and want to utilise the whole real estate you have. * Reloading the configuration file on the fly by using the colon menu --- cheatsheets/tmux | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cheatsheets/tmux b/cheatsheets/tmux index e9b76ce..328ceaf 100644 --- a/cheatsheets/tmux +++ b/cheatsheets/tmux @@ -7,6 +7,9 @@ Ctrl-b d # Restore tmux session: tmux attach +# Detach an already attached session (great if you are moving devices with different screen resolutions) +tmux attach -d + # Display session: tmux ls @@ -20,6 +23,9 @@ Ctrl-b ? # Scroll in window: Ctrl-b PageUp/PageDown +# Reload configuation file +Ctrl-b : source-file /path/to/file + # Window management # =================