Skip to content

Commit

Permalink
Merge pull request #1644 from thecarlo/vs-code-left-option-hide-terminal
Browse files Browse the repository at this point in the history
VS Code: left option → cmd + j (toggle terminal)
  • Loading branch information
tekezo authored Jun 13, 2024
2 parents c92097f + 0ac9db6 commit 22bee5a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@
{
"path": "json/vs_code_left_ctrl_toggle_sidebar.json"
},
{
"path": "json/vs_code_left_option_toggle_terminal.json"
},
{
"path": "json/vs_code_left_shift_search_symbols.json"
},
Expand Down
38 changes: 38 additions & 0 deletions public/json/vs_code_left_option_toggle_terminal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"title": "left option → cmd + j (VS Code → toggle terminal)",
"author": "Carlo van Wyk (https://github.com/thecarlo)",
"maintainers": ["thecarlo"],
"rules": [
{
"description": "left option → cmd + j (VS Code → toggle terminal)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_option",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_option"
}
],
"to_if_alone": [
{
"key_code": "j",
"modifiers": ["left_command"]
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": ["^com\\.microsoft\\.VSCode$", "com\\.microsoft\\.VSCodeInsiders"]
}
]
}
]
}
]
}

0 comments on commit 22bee5a

Please sign in to comment.