aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.cheat10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmux.cheat b/tmux.cheat
new file mode 100644
index 0000000..19541fd
--- /dev/null
+++ b/tmux.cheat
@@ -0,0 +1,10 @@
+% tmux
+
+# Move current window to left (+1 for to right)
+tmux swap-window -t -1
+
+# Swap two windows
+tmux swap-window -s <src> -t <dst>
+
+# Merge window <src> to window <dst> as panes
+tmux join-pane -s <src> -t <dst>