From 4dc00d215c87ea6a60199bad277004d92548edef Mon Sep 17 00:00:00 2001
From: Dirk Sarpe <dirk.sarpe@idiv.de>
Date: Mon, 29 Apr 2019 14:03:44 +0200
Subject: [PATCH] document synchronized panes in tmux

---
 tmux.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/tmux.md b/tmux.md
index c4cf3bb..6c48bb2 100644
--- a/tmux.md
+++ b/tmux.md
@@ -18,6 +18,7 @@ Simply invoke `tmux` to start a new tmux session. You will notice a new (customi
 | "           | splits the current pane into two horizontal panes                                     |
 | cursor keys | switches between panes                                                                |
 | !           | break out current pane to new window                                                  |
+| :           | enter tmux command                                                                    |
 
 ## Walkthrough: detaching and attaching
 
@@ -30,3 +31,22 @@ echo "I am a plain terminal"
 tmux ls
 tmux a -t mysession
 ```
+
+## Enter tmux commands
+
+tmux has a command interface as well. You can enter it by pressing prefix followed by `:`. You will see a input line at the bottom of your tmux session.
+
+###  Walkthrough: synchronize the input to multiple panes
+
+```bash
+tmux
+# split pane vertically
+Ctrl+b, %
+# syncronize-panes
+Ctrl+b, :
+setw synchronize-panes
+echo hello
+# de-syncronize-panes
+Ctrl+b, :
+setw synchronize-panes
+```
-- 
GitLab