Created
January 15, 2021 01:30
-
-
Save jojonki/c052da128c2543b3e9f36c972707d34b to your computer and use it in GitHub Desktop.
VSCode settings
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 override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+0", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "cmd+k z", | |
"command": "-workbench.action.toggleZenMode" | |
}, | |
{ | |
"key": "ctrl+k z", | |
"command": "workbench.action.toggleEditorWidths" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+s", | |
"command": "workbench.action.openGlobalKeybindings" | |
}, | |
{ | |
"key": "cmd+k cmd+s", | |
"command": "-workbench.action.openGlobalKeybindings" | |
}, | |
{ | |
"key": "ctrl+,", | |
"command": "workbench.action.openSettings" | |
}, | |
{ | |
"key": "cmd+,", | |
"command": "-workbench.action.openSettings" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "-workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "-workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+shift+f", | |
"command": "workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "shift+cmd+f", | |
"command": "-workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "workbench.view.debug" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.togglePanel" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "-workbench.action.togglePanel" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+cmd+]", | |
"command": "-editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+cmd+]", | |
"command": "-notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "workbench.action.files.save" | |
}, | |
{ | |
"key": "cmd+s", | |
"command": "-workbench.action.files.save" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "actions.find", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-actions.find", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "-workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "ctrl+shift+n", | |
"command": "workbench.action.newWindow" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "ctrl+z", | |
"command": "undo" | |
}, | |
{ | |
"key": "cmd+z", | |
"command": "-undo" | |
}, | |
{ | |
"key": "ctrl+shift+z", | |
"command": "redo" | |
}, | |
{ | |
"key": "shift+cmd+z", | |
"command": "-redo" | |
}, | |
{ | |
"key": "ctrl+/", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "-editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "tab", | |
"command": "editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "-editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "editor.action.clipboardCopyAction" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-editor.action.clipboardCopyAction" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "execCopy" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-execCopy" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "extension.vim_cmd+c", | |
"when": "editorTextFocus && vim.active && vim.overrideCopy && vim.use<D-c> && !inDebugRepl" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-extension.vim_cmd+c", | |
"when": "editorTextFocus && vim.active && vim.overrideCopy && vim.use<D-c> && !inDebugRepl" | |
} | |
] |
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
{ | |
"C_Cpp.updateChannel": "Insiders", | |
"vim.easymotion": true, | |
"vim.leader": "<space>", | |
"vim.easymotionKeys": "sdfghjkl", | |
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: Google, IndentWidth: 4}", | |
"sync.gist": "a0e904cb189fb4d5123553cb7e501eab", | |
"terminal.integrated.inheritEnv": false, | |
"python.linting.pylintArgs": [ | |
"--generated-members=numpy.*,torch.*" | |
], | |
"vim.handleKeys": { | |
"<C-y>": true, | |
"<C-e>": true, | |
"<C-v>": true, | |
"<C-d>": true, | |
"<C-u>": true, | |
"<C-s>": true, | |
"<C-r>": true | |
}, | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": [ | |
"<leader>", | |
"w" | |
], | |
"after": [ | |
"<leader>", | |
"<leader>", | |
"w" | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"b" | |
], | |
"after": [ | |
"<leader>", | |
"<leader>", | |
"b" | |
] | |
} | |
], | |
"terminal.integrated.shell.linux": "/bin/zsh", | |
"statusbarerror.color.error": "#ff902f", | |
"vim.foldfix": true, | |
"cSpell.ignoreWords": [ | |
"pylab", | |
"pyaudio", | |
"getnchannels", | |
"getnframes", | |
"wf", | |
"dtype", | |
"struct", | |
"imag", | |
"fftfreq", | |
"xlabel", | |
"ylabel", | |
"xlim", | |
"fscale", | |
"hN" | |
], | |
"vim.easymotionMarkerForegroundColorOneChar": "yellow", | |
"editor.formatOnSave": true, | |
"python.linting.enabled": true, | |
"python.linting.pylintPath": "pylint", | |
"[python]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} | |
}, | |
"python.formatting.provider": "yapf", | |
"python.linting.pylintEnabled": true, | |
"python.languageServer": "Pylance", | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"window.zoomLevel": 0, | |
"path-autocomplete.ignoredFilesPattern": "*.pyc", | |
"python.linting.ignorePatterns": [ | |
".vscode/*.py", | |
"**/site-packages/**/*.py", | |
"*.pyc" | |
], | |
"files.exclude": { | |
"**/.git": true, | |
"**/.DS_Store": true, | |
"**/nodemodules": true, | |
"**/__pycache__": true, | |
"**/.ipynb_checkpoints": true, | |
"**/*.pyc": true | |
}, | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/node_modules/**": true | |
}, | |
"explorer.confirmDelete": false, | |
"editor.minimap.enabled": false, | |
"terminal.explorerKind": "external", | |
"python.sortImports.path": "/home/jonki/.pyenv/shims/isort" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment