aboutsummaryrefslogtreecommitdiff
path: root/tmux.cheat
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-22 21:52:29 +0800
committerGuangxiong Lin <[email protected]>2023-11-22 21:52:29 +0800
commit17f14a634a82623c57938bb585d8aa04ce7f58e8 (patch)
tree7bb7dad1ad3e9b9eb17871fed786ab12b9721b06 /tmux.cheat
parentea7f13a1aab12eb591fd77ee5bee9b9245635dee (diff)
downloadnavi-cheats-17f14a634a82623c57938bb585d8aa04ce7f58e8.tar.gz
navi-cheats-17f14a634a82623c57938bb585d8aa04ce7f58e8.tar.bz2
navi-cheats-17f14a634a82623c57938bb585d8aa04ce7f58e8.zip
Add tmux shortcuts
Diffstat (limited to 'tmux.cheat')
-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>