Last active
September 25, 2018 10:13
-
-
Save sgqy/1201152bdbceb4efc417be17c4dba9a5 to your computer and use it in GitHub Desktop.
vscode-backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get list | |
code --list-extensions | xargs -L 1 echo code --install-extension | |
# apply list | |
code --install-extension geddski.macros | |
code --install-extension James-Yu.latex-workshop | |
code --install-extension jithurjacob.nbpreviewer | |
code --install-extension mrorz.language-gettext | |
code --install-extension ms-vscode.cpptools | |
code --install-extension tickleforce.scrolloff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{"key": "ctrl+i", "command": "macros.addKakko", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+j", "command": "cursorDown", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+k", "command": "cursorUp", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+h", "command": "cursorLeft", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+l", "command": "cursorRight", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+n", "command": "macros.cursorPgDn", "when": "textInputFocus && !editorReadonly"}, | |
{"key": "ctrl+u", "command": "macros.cursorPgUp", "when": "textInputFocus && !editorReadonly"}, | |
// Prevent typing Space when using non-English IME in a high speed | |
{"key": "Space", "command": "macros.disableKey", "when": "textInputFocus && !editorReadonly"} | |
// {"key": "ctrl+o", "command": "deleteLeft", "when": "textInputFocus && !editorReadonly"}, | |
// {"key": "ctrl+p", "command": "deleteRight", "when": "textInputFocus && !editorReadonly"}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"latex-workshop.latex.autoBuild.onSave.enabled": false, | |
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": false, | |
"files.autoSave": "afterDelay", | |
"files.autoSaveDelay": 60000, | |
"editor.renderWhitespace": "all", | |
"editor.minimap.enabled": false, | |
"workbench.colorTheme": "Monokai Dimmed", | |
"workbench.colorCustomizations": { | |
"diffEditor.removedTextBackground": "#B1972F10", | |
"diffEditor.insertedTextBackground": "#21918610" | |
}, | |
"scrolloff.scrolloff": 0, | |
"scrolloff.alwaysCenter": true, | |
"editor.fontSize": 16, | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.fontFamily": "'Source Han Sans HW SC', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.wordBasedSuggestions": false, | |
"editor.insertSpaces": false, | |
"explorer.confirmDragAndDrop": false, | |
"editor.mouseWheelZoom": true, | |
//"editor.rulers": [52], | |
"macros": { | |
"addKakko": [ | |
"cursorHome", | |
"cursorWordEndRight", | |
"cursorRight", | |
{"command": "type", "args": {"text": "「"}}, | |
"cursorEnd", | |
{"command": "type", "args": {"text": "」"}}, | |
"cursorLeft", | |
], | |
"cursorPgDn": [ | |
"cursorDown", | |
"cursorDown", | |
"cursorDown", | |
"cursorEnd", | |
], | |
"cursorPgUp": [ | |
"cursorUp", | |
"cursorUp", | |
"cursorUp", | |
"cursorEnd", | |
], | |
"disableKey": [ | |
{"command": "type", "args": {"text": ""}}, | |
], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment