Last active
August 29, 2015 13:57
-
-
Save alazyer/9458909 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following the this [simple tmux tutorial](http://www.sitepoint.com/tmux-a-simple-start/) | |
# 1. install tmux1.8 in ubuntu | |
```sh | |
~$ sudo add-apt-repository ppa:pi-rho/dev | |
~$ sudo apt-get update | |
~$ sudo apt-get install tmux | |
``` | |
# 2. tmux basic usage | |
## fire up a terminal with "CTRL ALT t" | |
```sh | |
~$ tmux | |
~$ tmux -V # check version info. | |
``` | |
## to split the window in "left:right", just type: | |
```sh | |
~$ CTRL B % | |
``` | |
## to split the window in "left:right", just type: | |
```sh | |
~$ CTRL B " | |
``` | |
## to change the current working pane, just type: | |
```sh | |
~$ CTRL B <directory arrow> # up, down, left, right | |
``` | |
## to toggle the current working pane full-screen: | |
```sh | |
~$ CTRL B z | |
``` | |
## to create a new tmux window, just type: | |
```sh | |
~$ CTRL B c | |
``` | |
## to toggle with the windows created by tmux, just type: | |
```sh | |
~$ CTRL B <window_number> # 0, 1, 2, ...., 9 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment