Glue is a cross-platform, extensible plug-in for Sublime Text 2 and 3 that connects your favorite editor to your shell.

Use the right click menu in your project sidebar:

and the standard output is displayed in an editor view.

Use the command input box at the bottom of the screen to enter system commands just like you would in your terminal:

Pipelining data between processes works. You get the standard output from the final executable in the sequence:

You get the picture.

Glue includes its own version of the cd command that allows you to navigate around your directory structure while maintaining your current working directory state between calls to the shell. See the Navigation documentation for details.

And create new files with:

Open files in the Sublime Text editor by file path:

Extend Sublime Text With Glue Extensions¶

You can build Sublime Text extensions with your favorite language or extend Sublime Text with any system utility using Glue command extensions. These are aliases for system commands that can be called from the Glue command line using the syntax:

$ glue <your-command> [optional arguments]

You have the option to pass additional command line arguments, clipboard data, or the current working directory path to the mapped system command with template tags.

The Glue-Commands Directory¶ Create a directory in your Sublime Text Packages directory ( Preferences > Browse Packages ) that is named Glue-Commands .

The glue.json File¶ Create a new file in this directory with the following path Glue-Commands/glue.json . Use the glue.json file to create Glue extensions with key = command name to value = command string mapping.