From 1599c81e8f9f80a5dde4d494a505f0a455774d75 Mon Sep 17 00:00:00 2001 From: Benny Date: Tue, 3 Sep 2013 11:08:25 +0200 Subject: [PATCH] Create tmux cheatfile --- cheatsheets/tmux | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 cheatsheets/tmux diff --git a/cheatsheets/tmux b/cheatsheets/tmux new file mode 100644 index 0000000..fe369c2 --- /dev/null +++ b/cheatsheets/tmux @@ -0,0 +1,41 @@ +# Start tmux +tmux + +# Detach from tmux +Ctrl-B D + +# Restore tmux session +tmux attach + +# Display session +tmux ls + +# Start a shared session +tmux -S /tmp/your_shared_session +chmod 777 /tmp/your_shared_session + +# Help screen (Q to quit) +Ctrl-B ? + +# Scroll in window +Ctrl-B PageUp/Down + +# Window management +# ================= + +# Create window +Ctrl-B C + +# Destroy window +Ctrl-B X + +# Switch between windows +Ctrl-B [0-9] +or +Ctrl-B Arrows + +# Split windows horizontally +Ctrl-B % + +# Split windows vertically +Ctrl-B "