Using tmux for Pairing

With both of our tmux windows in a good working state as we left them in the previous section, let’s check out the Backbone.js code base. Run this command from either tmux terminal:

 
$ ​git clone git@github.com:documentcloud/backbone.git

Move into the newly created backbone directory and open the file test/model.js in any terminal-based editor, as you can see here:

 
$ ​cd backbone
 
$ ​vim test/model.js

This file contains some unit tests for Backbone’s model components. We can run these test by opening the test/index.html file in a browser. Split the tmux session horizontally by pressing Ctrl-b ", so that your window looks like the following figure.

Figure 8. The Backbone.js code in tmux

Then run this command in ...

Get Remote Pairing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.