Skip to content
Snippets Groups Projects
Commit 882f28b8 authored by Dirk Sarpe's avatar Dirk Sarpe
Browse files

minor, another table format fix and a type

parent 2aa0bdfa
No related branches found
No related tags found
No related merge requests found
...@@ -4,26 +4,26 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple ...@@ -4,26 +4,26 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple
## Usage ## 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. 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 | key | command |
|-------------| |-------------|---------------------------------------------------------------------------------------|
| ? | help | ? | help |
| [ | activate scroll mode, you need this to navigate through longer output, leave with ESC | [ | 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 | d | detaches from current session and gets you back to plain terminal |
| $ | renames current session | $ | renames current session |
| c | creates a new window | c | creates a new window |
| & | kills the current window (confirm with y) | & | kills the current window (confirm with y) |
| n | switch to next window | n | switch to next window |
| p | switch to previous window | p | switch to previous window |
| % | splits the current pane in two vertical panes | % | splits the current pane in two vertical panes |
| " | splits the current pane into two horizontal panes | " | splits the current pane into two horizontal panes |
| cursor keys | switches between panes | cursor keys | switches between panes |
| ! | break out current pane to new window | ! | break out current pane to new window |
## Walkthrough: detaching and attaching ## Walkthrough: detaching and attaching
```bash ```bash
tmux tmux
Ctrg+b, $, mysession Ctrl+b, $, mysession
echo "I am in tmux" echo "I am in tmux"
Ctrl+b, d Ctrl+b, d
echo "I am a plain terminal" echo "I am a plain terminal"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment