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 ]`