From 882f28b890da35045502de3edfafdc6c6eda61bd Mon Sep 17 00:00:00 2001 From: Dirk Sarpe <dsarpe@posteo.de> Date: Wed, 7 Dec 2016 10:09:21 +0100 Subject: [PATCH] minor, another table format fix and a type --- tmux.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tmux.md b/tmux.md index baa985b..c4cf3bb 100644 --- a/tmux.md +++ b/tmux.md @@ -4,26 +4,26 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple ## Usage Simply invoke `tmux` to start a new tmux session. You will notice a new (customizable) status bar at the bottom of your terminal. To control tmux you need to enter a prefix (default Ctrl+b). The following prefixes are interpreted as commands to tmux. -| key | command -|-------------| -| ? | help -| [ | activate scroll mode, you need this to navigate through longer output, leave with ESC -| d | detaches from current session and gets you back to plain terminal -| $ | renames current session -| c | creates a new window -| & | kills the current window (confirm with y) -| n | switch to next window -| p | switch to previous window -| % | splits the current pane in two vertical panes -| " | splits the current pane into two horizontal panes -| cursor keys | switches between panes -| ! | break out current pane to new window +| key | command | +|-------------|---------------------------------------------------------------------------------------| +| ? | help | +| [ | activate scroll mode, you need this to navigate through longer output, leave with ESC | +| d | detaches from current session and gets you back to plain terminal | +| $ | renames current session | +| c | creates a new window | +| & | kills the current window (confirm with y) | +| n | switch to next window | +| p | switch to previous window | +| % | splits the current pane in two vertical panes | +| " | splits the current pane into two horizontal panes | +| cursor keys | switches between panes | +| ! | break out current pane to new window | ## Walkthrough: detaching and attaching ```bash tmux -Ctrg+b, $, mysession +Ctrl+b, $, mysession echo "I am in tmux" Ctrl+b, d echo "I am a plain terminal" -- GitLab