Skip to content

Commit

Permalink
Change keyboard shortcut for execSelectionInTerminal to Shit+Enter (#…
Browse files Browse the repository at this point in the history
…1961)

* Change keyboard shortcut for execSelectionInTerminal to Shit+Enter
* Update condition for context menu
  • Loading branch information
DonJayamanne authored Jun 14, 2018
1 parent a93ce84 commit 5eb48c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions news/2 Fixes/1875.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change keyboard shortcut for `Run Selection/Line in Python Terminal` to `Shit+Enter`.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
"keybindings": [
{
"command": "python.execSelectionInTerminal",
"key": "ctrl+enter",
"when": "editorFocus && editorHasSelection && editorLangId == python"
"key": "shift+enter",
"when": "editorFocus && editorLangId == python"
}
],
"commands": [
Expand Down Expand Up @@ -247,7 +247,7 @@
{
"command": "python.execSelectionInTerminal",
"group": "Python",
"when": "editorHasSelection && editorLangId == python"
"when": "editorFocus && editorLangId == python"
},
{
"command": "python.execSelectionInDjangoShell",
Expand Down

0 comments on commit 5eb48c2

Please sign in to comment.