Skip to content

Instantly share code, notes, and snippets.

@Sohaib03
Created June 27, 2020 16:58
Show Gist options
  • Save Sohaib03/f0e4b42013199f8ab463dc8e7ae31e5e to your computer and use it in GitHub Desktop.
Save Sohaib03/f0e4b42013199f8ab463dc8e7ae31e5e to your computer and use it in GitHub Desktop.
[
{
"keys": ["alt+`"], "command": "toggle_terminus_panel"
},
{
"keys": ["f6"], "command": "terminus_open", "args": {
"cmd": ["python", "$file"],
"cwd": "${file_path:${file}}",
"post_window_hooks": [
["carry_file_to_pane", {"direction": "right"}]
],
"title":"Console",
"auto_close":false,
"timeit":true,
}
},
{
"keys": ["f8"], "command": "terminus_open", "args": {
"cmd": ["powershell", "g++ -std=c++14 $file_base_name.cpp -o $file_base_name ; ./$file_base_name.exe"],
"cwd": "${file_path:${file}}",
"post_window_hooks": [
["carry_file_to_pane", {"direction": "right"}]
],
"title":"Console",
"auto_close":false,
"timeit":true,
}
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment