Skip to content

Commit

Permalink
Add keybinding to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloarosado committed Mar 7, 2025
1 parent c49a98d commit f259e11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Binary file not shown.
15 changes: 9 additions & 6 deletions vscode_extensions/run-until-cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@
"engines": {
"vscode": "^1.97.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.runUntilCursor"
],
"categories": ["Other"],
"activationEvents": ["onCommand:extension.runUntilCursor"],
"contributes": {
"commands": [
{
"command": "extension.runUntilCursor",
"title": "Run Until Cursor",
"category": "Python"
}
],
"keybindings": [
{
"command": "extension.runUntilCursor",
"key": "cmd+enter",
"when": "editorTextFocus && editorLangId == python"
}
]
},
"main": "./dist/extension.js",
Expand Down

0 comments on commit f259e11

Please sign in to comment.