-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 512d825
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"cweijan.vscode-autohotkey-plus" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
![Terminal Icon](terminal.ico) | ||
|
||
An [AutoHotKey](https://www.autohotkey.com/) script to open Windows Terminal via the `Ctrl+Alt+T` keyboard shortcut. | ||
|
||
Compiled shortcuts exist for both the [mainline](https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701) and [preview](https://apps.microsoft.com/store/detail/windows-terminal-preview/9N8G5RFZ9XK3) versions of the Windows Terminal. | ||
|
||
Executable icons sourced from the official [microsoft/terminal](https://github.com/microsoft/terminal) repository. | ||
|
||
# Usage | ||
|
||
Download your executable of choice from the [releases](https://github.com/jacobjmarks/terminal-hotkey/releases) section. | ||
After running the executable, you should be able to open a new Windows Terminal window by pressing `Ctrl+Alt+T`. | ||
|
||
Note that like any AutoHotkey script, you will need to re-run the executable after restarting your system. I recommend simply adding a shortcut to the program to your `shell:startup` folder\* to alleviate this issue. | ||
|
||
\* i.e. `%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup` | ||
|
||
# Customising | ||
|
||
If you would like to customise the script (including the hotkey) feel free to download it, modify, and compile. | ||
|
||
# Compiling | ||
|
||
You can compile the script into an executable using [AutoHotKey](https://www.autohotkey.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
;@Ahk2Exe-ExeName Terminal Preview Hotkey | ||
;@Ahk2Exe-SetMainIcon terminal-preview.ico | ||
#SingleInstance Force | ||
^!T::Run "shell:appsfolder\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe!App" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
;@Ahk2Exe-ExeName Terminal Hotkey | ||
;@Ahk2Exe-SetMainIcon terminal.ico | ||
#SingleInstance Force | ||
^!T::Run "shell:appsfolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App" |
Binary file not shown.