Two Ways To Add Terminal To Your Sublime Text - Darija

Published: 13 June 2020
on channel: LearnToCode - الدارجة المغربية
2,745
44

Hello every one !!

In this video inchaeAllah, i will show you two simples ways to add terminal to your Sublime text.
By using the first one you can open terminal directly from sublime but in an other window, and with second one you will have the possibility to open it in Sublime like a new window or like a new panel.

The link of the files we used:
https://github.com/James231/Terminals...

PowerShell locations:
https://www.powershelladmin.com/wiki/...

Key Bindings file:

[

Togle Terminus panel (at the bottom of the screen) OpenClosed when Alt+' is pressed
{
The key press to look out for
keys [alt+`],

Toggle the panel
command toggle_terminus_panel
},

Open cmd.exe Command Prompt when Alt+1 is pressed
{
The key press to look out for
keys [alt+1],

caption Command Prompt (new Window),
Tell terminus to open something
command terminus_open,

Tell terminus what to open
args {
Open Command Prompt
cmd CWindowssystem32cmd.exe,

Provide Command Prompt with Current Working Directory
cwd ${file_path${folder}},

Tell terminus to put it in the panel at the bottom of the screen
panel_name Terminus
}
},

Open git bash when Alt+2 is pressed
{
keys [alt+2],
command terminus_open,
args {
Tell terminus to use Git Bash
Replace the path below with your path to Git Bash
cmd [CProgram FilesGitbinbash.exe, -i, -l],

cwd ${file_path${folder}},
panel_name Terminus
}
},

Repitition of the above adding Alt+b and Alt+c shortcuts
{
keys [alt+3],
command terminus_open,
args {
cmd CWindowsSystem32WindowsPowerShellv1.0powershell.exe,
cwd ${file_path${folder}},
title Command Prompt,
panel_name Terminus
}
},
{
keys [alt+b],
command terminus_open,
args {
cmd [CProgram FilesGitbinbash.exe, -i, -l],
cwd ${file_path${folder}},
title Git Bash,
panel_name Terminus
}
},

]

/***********************************************************************/


Watch video Two Ways To Add Terminal To Your Sublime Text - Darija online without registration, duration hours minute second in high quality. This video was added by user LearnToCode - الدارجة المغربية 13 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,745 once and liked it 44 people.