https://github.com/pdmlab/tmux-cheatsheet
Yeat another cheat sheet for tmux, created from personal use.
https://github.com/pdmlab/tmux-cheatsheet
Last synced: 11 months ago
JSON representation
Yeat another cheat sheet for tmux, created from personal use.
- Host: GitHub
- URL: https://github.com/pdmlab/tmux-cheatsheet
- Owner: PDMLab
- License: bsd-3-clause
- Created: 2016-02-11T20:19:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-24T13:52:12.000Z (almost 10 years ago)
- Last Synced: 2023-04-10T01:05:50.942Z (almost 3 years ago)
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmux cheat sheet for Ubuntu
#General
[tmux](https://tmux.github.io/) is a terminal multiplexer and allows you to split your terminal window into multiple panes or having multiple windows.
Furthermore it supports sessions, but these are not described in the cheat sheet.
#Installation
```
sudo apt-get update
sudo apt-get install tmux
```
#Running tmux
```tmux``` can be run from within an terminal window by typing ```tmux```
#Commands
```tmux``` commands are introduced by hitting ```+b``` followed by the command.
#Windows
```+b c``` creates a new ```tmux``` window
```+b ,``` rename a window
```+b p``` previous window
```+b n``` next window
```+b w``` list window / select
#Panes
```+b %``` split window (create pane) vertically
```+b : split-window``` split window (create pane) horizontally
```+b o``` next pane
```+b x``` exit pane
```+b q``` access pane by number, e.g. ```+b q1```
```+b [``` enable scrolling history in current pane (use mouse or ```pgUp``` / ```pgDown```)
```q``` leave scroll view in pane
```+b : resize-pane -D``` Resize the current pane down
```+b : resize-pane -U``` Resize the current pane up
```+b : resize-pane -L``` Resize the current pane left
```+b : resize-pane -R``` Resize the current pane right
```+b : resize-pane -D 10``` Resize the current pane down by 10 cells
```+b : resize-pane -U 10``` Resize the current pane up by 10 cells
```+b : resize-pane -L 10``` Resize the current pane left by 10 cells
```+b : resize-pane -R 10``` Resize the current pane right by 10 cells