Skip to content

Instantly share code, notes, and snippets.

@mrkaspa
Last active September 21, 2017 03:14
Show Gist options
  • Save mrkaspa/4290d14f465cfda38cea05ce67289239 to your computer and use it in GitHub Desktop.
Save mrkaspa/4290d14f465cfda38cea05ce67289239 to your computer and use it in GitHub Desktop.
vscode
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+1",
"command": "type",
"args": {
"text": "|>"
},
"when": "editorTextFocus"
},
{
"key": "cmd+2",
"command": "type",
"args": {
"text": "->"
},
"when": "editorTextFocus"
},
{
"key": "cmd+3",
"command": "type",
"args": {
"text": "<-"
},
"when": "editorTextFocus"
},
{
"key": "cmd+4",
"command": "type",
"args": {
"text": "=>"
},
"when": "editorTextFocus"
},
{
"key": "cmd+5",
"command": "type",
"args": {
"text": "<|"
},
"when": "editorTextFocus"
},
{
"key": "ctrl+e",
"command": "type",
"args": {
"text": ":="
},
"when": "editorTextFocus"
},
{
"key": "ctrl+f",
"command": "type",
"args": {
"text": "::"
},
"when": "editorTextFocus"
},
{
"key": "ctrl+m",
"command": "type",
"args": {
"text": "%{}"
},
"when": "editorTextFocus"
},
{
"key": "shift+cmd+space",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
}
]
{
// Place your settings in this file to overwrite the default settings
"editor.fontSize": 19,
"editor.fontFamily": "Fira Code",
"editor.codeLens": false,
"editor.fontLigatures": true,
"workbench.editor.enablePreview": false,
"files.autoSave": "onFocusChange",
"window.restoreWindows": "all",
"workbench.colorTheme": "One Dark Pro",
"explorer.autoReveal": false,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"workbench.startupEditor": "newUntitledFile",
"python.pythonPath": "python3",
"python.linting.lintOnSave": false,
"python.formatting.formatOnSave": true,
"editor.snippetSuggestions": "top",
"[javascript]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[elixir]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[rust]": {
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"workbench.iconTheme": "vscode-icons",
"rust.rustup": {
"toolchain": "nightly-x86_64-apple-darwin",
"nightlyToolchain": "nightly-x86_64-apple-darwin"
},
"rust.mode": "rls",
"rust.rls": {
"useRustfmt": true
},
"rust.rustLangSrcPath": "/Users/mrkaspa/rust/src"
}
{
// Place your settings in this file to overwrite the default settings
"editor.fontSize": 19,
"editor.fontFamily": "Fira Code",
"editor.codeLens": false,
"editor.fontLigatures": true,
"workbench.editor.enablePreview": false,
"files.autoSave": "onFocusChange",
"window.restoreWindows": "all",
"workbench.colorTheme": "One Dark Pro",
"explorer.autoReveal": false,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"workbench.startupEditor": "newUntitledFile",
"python.pythonPath": "python3",
"python.linting.lintOnSave": false,
"python.formatting.formatOnSave": true,
"editor.snippetSuggestions": "top",
"elm.formatOnSave": true,
"[javascript]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[csharp]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[fsharp]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"[elixir]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[rust]": {
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"workbench.iconTheme": "vscode-icons",
"rust.rustup": {
"toolchain": "nightly-x86_64-apple-darwin",
"nightlyToolchain": "nightly-x86_64-apple-darwin"
},
"rust.mode": "rls",
"rust.rls": {
"useRustfmt": true
},
"rust.rustLangSrcPath": "/Users/mrkaspa/rust/src"
}
{
// Place your settings in this file to overwrite the default settings
"editor.fontSize": 19,
"editor.fontFamily": "Fira Code",
"editor.codeLens": false,
"editor.fontLigatures": true,
"workbench.editor.enablePreview": false,
"files.autoSave": "onFocusChange",
"window.restoreWindows": "all",
"workbench.colorTheme": "One Dark Pro",
"explorer.autoReveal": false,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"workbench.startupEditor": "newUntitledFile",
"python.pythonPath": "python3",
"python.linting.lintOnSave": false,
"python.formatting.formatOnSave": true,
"editor.snippetSuggestions": "top",
"[javascript]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[csharp]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"[fsharp]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"[elixir]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[rust]": {
"editor.insertSpaces": true,
"editor.formatOnSave": true
},
"workbench.iconTheme": "vscode-icons",
"rust.rustup": {
"toolchain": "nightly-x86_64-apple-darwin",
"nightlyToolchain": "nightly-x86_64-apple-darwin"
},
"rust.mode": "rls",
"rust.rls": {
"useRustfmt": true
},
"rust.rustLangSrcPath": "/Users/mrkaspa/rust/src"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment