All Projects → James231 → Terminals-In-Sublime-Text

James231 / Terminals-In-Sublime-Text

Licence: other
Use (Windows) Terminals within Sublime Text 3 such as: Command Prompt, Git Bash, Google Cloud SDK Shell, etc

Projects that are alternatives of or similar to Terminals-In-Sublime-Text

zephir-sublime
Sublime Text syntax highlighting for for Zephir
Stars: ✭ 41 (-43.84%)
Mutual labels:  sublime-text
sublimetext-autobackups
Sublime Text 2/3 Auto backups plugin
Stars: ✭ 70 (-4.11%)
Mutual labels:  sublime-text
dotfiles
Dotfiles. Mac and *nix. Handy scripts, configurations for bash, zsh, git, asdf, Sublime Text, Karabiner-Elements, BetterTouchTool and more.
Stars: ✭ 15 (-79.45%)
Mutual labels:  sublime-text
sublime-angular-material-snippets
Angular Material Design snippets plugin for Sublime Text 2/3
Stars: ✭ 25 (-65.75%)
Mutual labels:  sublime-text
exalt
A Sublime Text plugin for validating and formatting XML documents
Stars: ✭ 22 (-69.86%)
Mutual labels:  sublime-text
sublimetext-stringutilities
Sublime Text 2/3 plugin for string manipulations
Stars: ✭ 81 (+10.96%)
Mutual labels:  sublime-text
fatfree-snippets
🔝 Fat-Free Framework snippets for Sublime Text 2/3
Stars: ✭ 20 (-72.6%)
Mutual labels:  sublime-text
SublimeText-GameMaker-Plugin
GML Snippets & Syntax Highlighting for SublimeText 2
Stars: ✭ 20 (-72.6%)
Mutual labels:  sublime-text
sublime-meetio-theme
The most powerful and adaptive theme for Sublime Text 3
Stars: ✭ 71 (-2.74%)
Mutual labels:  sublime-text
Golite
Add essential language support for the Go language to Sublime Text 3.
Stars: ✭ 14 (-80.82%)
Mutual labels:  sublime-text
Cake
Yummy syntax theme for Atom, Brackets, Sublime Text and Visual Studio Code
Stars: ✭ 47 (-35.62%)
Mutual labels:  sublime-text
sublime-font-cycler
Quickly cycle between your favorite fonts in Sublime Text with the press of a key
Stars: ✭ 19 (-73.97%)
Mutual labels:  sublime-text
Assembly-Syntax-Definition
This is the greatest syntax definition of All Time
Stars: ✭ 23 (-68.49%)
Mutual labels:  sublime-text
utools-recent-projects
uTools 插件, 快速查询最近打开的项目
Stars: ✭ 84 (+15.07%)
Mutual labels:  sublime-text
Sublime-Pretty-Shell
🐚 Shell Script Formatter / Syntax Checker (Powered by shfmt)
Stars: ✭ 28 (-61.64%)
Mutual labels:  sublime-text
st package reviewer
A tool to review packages for Sublime Text
Stars: ✭ 13 (-82.19%)
Mutual labels:  sublime-text
laravel forms boostrap snippets
Handy Sublime Text snippets to create forms inputs for Laravel Collective Forms with Twitter Bootstrap 3.
Stars: ✭ 38 (-47.95%)
Mutual labels:  sublime-text
sublime-jsoncomma
A Sublime Text plugin to deal with those damn JSON commas!
Stars: ✭ 35 (-52.05%)
Mutual labels:  sublime-text
terminus-altair
Elegant customizable theme with vivid colors for Terminus
Stars: ✭ 26 (-64.38%)
Mutual labels:  terminus
sublime-pine
A Pine programming language syntax for Sublime Text.
Stars: ✭ 35 (-52.05%)
Mutual labels:  sublime-text

Terminals in Sublime Text

This repo contains some JSON code to help you add terminals to Sublime Text 3.

Requirements

Windows operating system.
Sublime Text 3 available here: https://www.sublimetext.com/3

Getting Started

Step 1: Install Terminus

Terminus is a great package for Sublime made randy3k. More information here: https://github.com/randy3k/Terminus

First you need to install terminus.
Press Ctrl+Shift+P in Sublime Text to open the Command Palette. Type in Terminus and select it. If you haven't installed Package Control already, you'll be prompted to do that now.

Once you have installed Terminus go back to the Command Palette (Ctrl+Shift+P) and type in Terminus: Open Default Shell in View. This should open a Command Prompt in a new window.
If you try the command Terminus: Open Default Shell in Panel it will open Command Prompt at the bottom of your screen.

This is great but we want some other kinds of shells with keyboard shortcuts to them.

Step 2: Other Shells

In the Command Palette (Ctrl+Shift+P) type in Terminus Command Palette. This should open up a split screen view. In this repository you'll find a Terminus Command Palette.json file. Copy and paste the contents into the right hand side of the split screen view and save it.
Read the comments in the code to see what it does. Make sure the code is using the correct path to your installation of Git Bash (or other shell). This occurs on lines 49 and 61. The default is:

"cmd": ["C:\\Program Files\\Git\\bin\\bash.exe", "-i", "-l"],

Note that double slashes are required (in order to escape single slashes).

The code should add new Commands to the Command Palette. Open the Command Palette (Ctrl+Shift+P) and make sure the commands work.
i.e. The command Git Bash (panel) should open Git Bash in the panel at the bottom of your screen.

You can add your own shells by copy and pasting your code. If your shells are based on Command Prompt then the lines containing the paths only need to be:

"cmd": "PATH_TO_YOUR_SHELL",

But, if your shells are not Command Prompt based (open externally from Command Prompt) then you need to use the following line:

"cmd": ["PATH_TO_YOUR_SHELL", "-i", "-l"],

Step 2: Keyboard Shorcuts

Open the Command Palette (Ctrl+Shift+P) and type Terminus Key Bindings. Then copy the contents of the Terminus Key Bindings.json file into the right hand side of the view and save it. This should add keyboard shortcuts to your shells. Again if you are using Git Bash, the path to it may need correcting.

The following shorcuts should work:

  • Ctrl+` - Toggles the Panel at the bottom of the screen open and closed
  • Ctrl+1 - Opens Command Prompt in the Panel
  • Ctrl+2 - Opens Git Bash in the Panel
  • Ctrl+c - Opens Command Prompt in the Panel
  • Ctrl+b - Opens Git Bash in the Panel

The code is well commented so it should be clear how it works. Again you can copy and paste the code to add your own shortcuts.

Acknowledgements

Thanks again to randy3k for developing Terminus. More information here: https://github.com/randy3k/Terminus

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].