Usage

Status Bar

You can keep track of terminal instances via the status bar. Each terminal has a status icon ( ) in the status bar. The ( ) button creates a new terminal, while the ( ) button closes all terminals.

Click on a status icon to toggle that terminal. Right click the status icon for a list of available commands. From the right-click menu you can color code the status icon as well as hide or close the terminal instance.

Terminal

You can open the last active terminal with the terminal-plus:toggle command (Default:ctrl-`). If no terminal instances are available, then a new one will be created. The same toggle command is used to hide the currently active terminal.

From there you can begin typing into the terminal. By default the terminal will change directory into the project folder if possible. The default working directory can be changed in the settings to the home directory or to the active file directory.

Features

Full Terminal

Every terminal is loaded with your system’s default initialization files. This ensures that you have access to the same commands and aliases as you would in your standard terminal.

Themes

The terminal is preloaded with several themes that you can choose from. Not satisfied?
Use the following template in your stylesheet:

.terminal-plus.xterm{

background-color:;

color:;

::selection {

background-color:;

}

.terminal-cursor{

background-color:;

}

}

Process Titles

By hovering over the terminal status icon, you can see which command process is currently running in the terminal.

Terminal Naming

Need a faster way to figure out which terminal is which? Name your status icons!

Available via the status icon context menu.

Color Coding

Color code your status icons!

The colors are customizable in the settings, however the color names remain the same in the context menu.

Sorting

Organize your open terminal instances by dragging and dropping them.

Resizable

You can resize the view vertically, or just maximize it with the maximize button.

Working Directory

You can set the default working directory for new terminals. By default this will be the project folder.

File Dropping

Dropping a file on the terminal will insert the file path into the input. This works with external files, tabs from the Atom tab-view, and entries from the Atom tree-view.

Insert Selected Text

Insert and run selected text from your text editor by running the terminal-plus:insert-selected-text command (ctrl-enter).

If you have text selected, it will insert your selected text into the active terminal and run it.
If you don't have text selected it, will run the text on the line where your cursor is then proceed to the next line.

Quick Command Insert

Quickly insert a command to your active terminal by executing the terminal-plus:insert-text command.

A dialog will pop up asking for the input to insert. If you have the Run Inserted Text option enabled in the settings (default is false), Terminal-Plus will automatically run the command for you.

Support for Special Keys

Support for IME, dead keys and other key combinations via the Insert Text dialog box. Just click the keyboard button in the top left of the terminal or set up a keymap to the terminal-plus:insert-text command.

Note: Make sure you have the Run Inserted Command toggle off otherwise it will run your inserted text.

Map Terminal To

Map your terminals to each file or folder you are working on for automatic terminal switching.

File

Folder

Toggling the Auto Open a New Terminal (For Terminal Mapping) option will have the mapping create a new terminal automatically for files and folders that don't have a terminal. The toggle is located right under the Map Terminals To option.

Install

Ready to install?

You can install via apm: apm install terminal-plus

Or navigate to the install tab in Atom’s settings view, and search for terminal-plus.

Commands

Command

Action

Default Keybind

terminal-plus:new

Create a new terminal instance.

ctrl-shift-torcmd-shift-t

terminal-plus:toggle

Toggle the last active terminal instance.Note: This will create a new terminal if it needs to.

ctrl-`(Control + Backtick)

terminal-plus:prev

Switch to the terminal left of the last active terminal.

ctrl-shift-jorcmd-shift-j

terminal-plus:next

Switch to the terminal right of the last active terminal.

ctrl-shift-korcmd-shift-k

terminal-plus:insert-selected-text

Run the selected text as a command in the active terminal.

ctrl-enter

terminal-plus:insert-text

Bring up an input box for using IME and special keys.

––––––––––––

terminal-plus:close

Close the active terminal.

ctrl-shift-xorcmd-shift-x

terminal-plus:close-all

Close all terminals.

––––––––––––

terminal-plus:rename

Rename the active terminal.

––––––––––––

To-Do List

[ ] Possibly merge dependencies into Terminal-Plus?

[ ] Add support for dead keys and IME input

[x] Add support for terminal tabs

[x] Add support for automatic directory switching

[x] Fix Atom requesting a rebuild after every update

[x] Update winpty in pty.js dependency

[x] Add support for custom ANSI colors in terminal

[x] Fix ctrl+c for bash prompts on OS X and Linux

[x] Add support for status icon names

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll
investigate right away.