Skip to content

Commit 69372c9

Browse files
committed
lord
1 parent e490cf1 commit 69372c9

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

code/keybindings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
// Vim navigate backwards/forwards
44
{ "key": "ctrl+o", "command": "workbench.action.navigateBack", "when": "editorTextFocus" },
55
{ "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" },
99
{ "key": "cmd-alt-m", "command": "workbench.action.terminal.focus" },
1010
{ "key": "cmd-alt-m", "command": "workbench.action.terminal.focus" },
1111

1212
// terrible defaults for "rails run specs"
1313
{ "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" },
1515

1616
// Jump around in vim
1717
{

code/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
}
4747
},
4848
"workbench.sideBar.location": "left",
49-
// "workbench.settings.editor": "json",
50-
"files.autoSave": "onFocusChange"
49+
"workbench.settings.editor": "json",
50+
"[json]": {
51+
"editor.defaultFormatter": "esbenp.prettier-vscode"
52+
},
53+
// "files.autoSave": "onFocusChange"
5154
}

code/snippets/javascript.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,11 @@
4646
],
4747
"description": "Console Log"
4848
},
49+
"Function body": {
50+
"prefix": "()",
51+
"body": [
52+
"() => {$0}"
53+
],
54+
"description": "Function body"
55+
}
4956
}

0 commit comments

Comments
 (0)