# sublime-persistent-console
[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Package Control](https://packagecontrol.herokuapp.com/downloads/Persistent%20Console.svg?style=flat-square)](https://packagecontrol.io/packages/Persistent%20Console)
[![GitHub](https://img.shields.io/github/release/idleberg/sublime-persistent-console.svg?style=flat-square)](https://github.com/idleberg/sublime-persistent-console/releases)
[![Travis](https://img.shields.io/travis/idleberg/sublime-persistent-console.svg?style=flat-square)](https://travis-ci.org/idleberg/sublime-persistent-console)
Package that opens console whenever a new window or tab is opened. Useful for package developers.
## Installation
### Package Control
1. Make sure you already have [Package Control](https://packagecontrol.io/) installed
2. Choose *“Install Package”* from the Command Palette (Super+Shift+p)
3. Type *“Persistent Console”* and press Enter
### Using Git
1. Change to your Sublime Text `Packages` directory
2. Clone repository `git clone https://github.com/idleberg/sublime-persistent-console.git 'Persistent Console'`
### Manual installation
1. Download the latest [stable release](https://github.com/idleberg/sublime-persistent-console/releases)
2. Unzip the archive to your Sublime Text `Packages` directory
## Usage
To disable the console being openend with each new window or tab, you can use the *Persistent Console: Toggle* command or by changing the *Package Settings* manually.
### Keymap
Additionally, this package provides a shortcut to toggle the console.
Operating System | Shortcut
-----------------|-----------------------------------------------
macOS | Cmd+Alt+J
Linux, Windows | Super+Shift+J
Yep, that's the same shortcut as in Google Chrome. If, for example, you're used to the shortcut used in Mozilla Firefox on macOS, you can easily change it by opening *Preferences: Key Bindings* and add the following:
```json
[
{
"keys": [
"super+alt+k"
],
"command": "toggle_console"
}
]
```
## License
This work is licensed under the [The MIT License](LICENSE).