Last Updated: February 25, 2016
·
3.62K
· jmarizgit

Split (vertical/horizontal) for terminal windows

If you use terminal for development you probably use Tabs to have more than one application running (rails server, vim, emac etc).

With Tmux you can have multiple applications running on the same tab. To install tmux use the following command:

on linux

$ apt-get install tmux

on mac you can use macports:

$ port install tmux

on mac with homebrew:

$ brew install tmux

Basic usage:

Start tmux session

$ tmux

Split window horizontally:

$ ctrl + b + "

Split window vertically

$ ctrl + b + %

Move between windows

$ ctrl + b + (cursor arrows)

More
http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course

Happy hacking!