An open API service indexing awesome lists of open source software.

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.

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