From dc4bf113e44b0ad292d80a3251c260fd6b0d4d6e Mon Sep 17 00:00:00 2001 From: Jonathan Agmon Date: Sun, 22 Mar 2026 22:44:38 +0200 Subject: [PATCH] Add tmux --- tmux/commands.md | 12 ++++++++++++ tmux/shortcuts.md | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 tmux/commands.md create mode 100644 tmux/shortcuts.md diff --git a/tmux/commands.md b/tmux/commands.md new file mode 100644 index 0000000..69425f5 --- /dev/null +++ b/tmux/commands.md @@ -0,0 +1,12 @@ +# tmux Commands +This document will refer to tmux as the alias `t`. +## New tmux session +`t` +## New tmux session with name +`t new -s NAME` +## List tmux session +`t ls` +## Attach back to a session +`t a -t SESSION` +## Attach back to the last session +`t a` diff --git a/tmux/shortcuts.md b/tmux/shortcuts.md new file mode 100644 index 0000000..39a2ce8 --- /dev/null +++ b/tmux/shortcuts.md @@ -0,0 +1,21 @@ +# tmux Shortcuts +## Session management +### Detach session +`C-b d` +### List sessions +`C-b s` +### Rename session +`C-b $` +## Panes +### Vertical split +`C-b %` +### Horizontal split +`C-b "` +### Switch panes +`C-b r-arrow` +`C-b l-arrow` +## Text manipulation +### tmux Copy mode +`C-b [` +### tmux Paste mode +`C-b ]`