|
3 | 3 | // Vim navigate backwards/forwards |
4 | 4 | { "key": "ctrl+o", "command": "workbench.action.navigateBack", "when": "editorTextFocus" }, |
5 | 5 | { "key": "ctrl+i", "command": "workbench.action.navigateForward", "when": "editorTextFocus" }, |
6 | | - { "key": "cmd+k p", "command": "extension.copyRelativePathOfActiveFile"}, |
7 | | - { "key": "cmd+k f", "command": "workbench.action.files.copyPathOfActiveFile" }, |
8 | | - { "key": "cmd-k l", "command": "latex-workshop.tab" }, |
| 6 | + { "key": "cmd+k p", "command": "extension.copyRelativePathOfActiveFile", "when": "editorTextFocus" }, |
| 7 | + { "key": "cmd+k f", "command": "workbench.action.files.copyPathOfActiveFile", "when": "editorTextFocus" }, |
| 8 | + { "key": "cmd-k l", "command": "latex-workshop.tab", "when": "editorTextFocus" }, |
9 | 9 | { "key": "cmd-alt-m", "command": "workbench.action.terminal.focus" }, |
10 | 10 | { "key": "cmd-alt-m", "command": "workbench.action.terminal.focus" }, |
11 | 11 |
|
12 | 12 | // terrible defaults for "rails run specs" |
13 | 13 | { "key": "shift+cmd+t", "command": "workbench.action.reopenClosedEditor" }, |
14 | | - { "key": "cmd+k cmd+f", "command": "extension.runFileSpecs" }, |
| 14 | + { "key": "cmd+k cmd+f", "command": "extension.runFileSpecs", "when": "editorTextFocus" }, |
15 | 15 |
|
16 | 16 | // Jump around in vim |
17 | 17 | { |
|
0 commit comments