cheat_sheets_tmux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cheat_sheets_tmux [2022/09/25 15:45] – gman | cheat_sheets_tmux [2024/01/20 16:28] (current) – gman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== tmux ====== | ====== tmux ====== | ||
- | {{:: | + | **Cheet Sheets:** |
+ | {{:: | ||
===== Sessions ===== | ===== Sessions ===== | ||
Line 8: | Line 8: | ||
A session is a group of windows (and each window has at least one pane). | A session is a group of windows (and each window has at least one pane). | ||
- | **New Session:** | + | **Commands:** |
< | < | ||
+ | # New Session | ||
tmux | tmux | ||
tmux new -s [session name] | tmux new -s [session name] | ||
- | </ | ||
- | **Sessions Management:** | + | # Sessions Management |
- | + | tmux ls # lists current running sessions | |
- | < | + | |
- | tmux ls | + | |
tmux rename-session -t [number] [new name] | tmux rename-session -t [number] [new name] | ||
- | </ | ||
- | **Attach Session:** | + | # Attach Session |
- | < | + | |
tmux a -t [session name or number] | tmux a -t [session name or number] | ||
- | </ | ||
- | **Remove Session:** | + | # Remove Session |
- | < | + | |
tmux kill-ses | tmux kill-ses | ||
tmux kill-session -t [name] | tmux kill-session -t [name] | ||
Line 47: | Line 41: | ||
Windows are like tabs in a browser. Windows exist in sessions and occupy the whole screen. | Windows are like tabs in a browser. Windows exist in sessions and occupy the whole screen. | ||
+ | |||
+ | **Key Bindings:** | ||
^ Command | ^ Command | ||
Line 66: | Line 62: | ||
Panes are sections of windows that have been split vertically or horizontally (like... uh... panes in a glass window...) | Panes are sections of windows that have been split vertically or horizontally (like... uh... panes in a glass window...) | ||
- | ^ Command | + | **Key Bindings: |
- | | '' | + | |
- | | '' | + | ^ Command |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
+ | | '' | ||
+ | | '' | ||
Line 85: | Line 83: | ||
===== Copy ===== | ===== Copy ===== | ||
+ | **__Resource__: | ||
+ | |||
+ | **To copy outside tmux:** You should be able to highlight with your mouse (shift + left-mouse-button). Once highlighted, | ||
+ | * If that doesn' | ||
+ | * **Shift + Left-Mouse-Button: | ||
+ | |||
+ | **To copy inside tmux:** See the following... | ||
+ | |||
+ | **Key Bindings:** | ||
+ | |||
+ | ^ Command | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | **Copy Mode Commands:** | ||
+ | |||
+ | ^ Command | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
---- | ---- |
cheat_sheets_tmux.1664120751.txt.gz · Last modified: by gman