Skip to content

Commit

Permalink
Fix shortcuts blocking Terminal: Clear command
Browse files Browse the repository at this point in the history
Clearing terminal command has default shortcut of Cmd+k when terminal
has focus. So Zeplin command is changed to be active only when terminal
is not focused.

Resolves #90
  • Loading branch information
fonurr committed Jun 3, 2020
1 parent 46e3491 commit 57f86aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,14 @@
{
"command": "zeplin.sidebar.jumpTo",
"key": "ctrl+k j",
"mac": "cmd+k j"
"mac": "cmd+k j",
"when": "!terminalFocus"
},
{
"command": "workbench.view.extension.zeplin",
"key": "ctrl+k z",
"mac": "cmd+k z"
"mac": "cmd+k z",
"when": "!terminalFocus"
}
],
"commands": [
Expand Down

0 comments on commit 57f86aa

Please sign in to comment.