mirror of https://github.com/cheat/cheat.git
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
This commit is contained in:
parent
e268ba3df2
commit
b7347a9409
|
@ -7,6 +7,9 @@ Ctrl-b d
|
||||||
# Restore tmux session:
|
# Restore tmux session:
|
||||||
tmux attach
|
tmux attach
|
||||||
|
|
||||||
|
# Detach an already attached session (great if you are moving devices with different screen resolutions)
|
||||||
|
tmux attach -d
|
||||||
|
|
||||||
# Display session:
|
# Display session:
|
||||||
tmux ls
|
tmux ls
|
||||||
|
|
||||||
|
@ -20,6 +23,9 @@ Ctrl-b ?
|
||||||
# Scroll in window:
|
# Scroll in window:
|
||||||
Ctrl-b PageUp/PageDown
|
Ctrl-b PageUp/PageDown
|
||||||
|
|
||||||
|
# Reload configuation file
|
||||||
|
Ctrl-b : source-file /path/to/file
|
||||||
|
|
||||||
# Window management
|
# Window management
|
||||||
# =================
|
# =================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue