Skip to content

Instantly share code, notes, and snippets.

@nacika-ins
Created December 21, 2020 07:35
Show Gist options
  • Save nacika-ins/0e0591f32a914cbfbd3b6c5f25892736 to your computer and use it in GitHub Desktop.
Save nacika-ins/0e0591f32a914cbfbd3b6c5f25892736 to your computer and use it in GitHub Desktop.
VSCode 設定ファイル (SublimeText仕様) 2020/12/21
[
{
"key": "cmd+shift+v",
"command": "editor.action.clipboardPasteAction"
},
{
"key": "ctrl+d",
"command": "editor.action.deleteLines"
},
{
"key": "shift+alt+left",
"command": "cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+left",
"command": "-cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+right",
"command": "cursorWordRightSelect"
},
{
"key": "ctrl+cmd+left",
"command": "cursorWordAccessibilityLeft"
},
{
"key": "ctrl+cmd+right",
"command": "cursorWordAccessibilityRight"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.showNextWindowTab"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.showPreviousWindowTab"
},
{
"key": "alt+cmd+right",
"command": "workbench.action.nextEditor"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+cmd+left",
"command": "workbench.action.previousEditor"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+[Minus]",
"command": "-workbench.action.navigateBack"
},
{
"key": "cmd+]",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+[IntlRo]",
"command": "-workbench.action.navigateForward"
},
{
"key": "shift+cmd+[",
"command": "cursorUndo",
"when": "textInputFocus"
},
{
"key": "cmd+u",
"command": "-cursorUndo",
"when": "textInputFocus"
},
{
"key": "shift+cmd+]",
"command": "cursorRedo"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+p",
"command": "eslint.executeAutofix"
},
{
"key": "ctrl+left",
"command": "cursorWordPartLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+left",
"command": "-cursorWordPartLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+right",
"command": "cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+right",
"command": "-cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+left",
"command": "cursorWordPartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+left",
"command": "-cursorWordPartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+right",
"command": "cursorWordPartRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+right",
"command": "-cursorWordPartRightSelect",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "cursorWordRight"
},
{
"key": "cmd+[",
"command": "-editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+enter",
"command": "-notebook.cell.executeAndInsertBelow",
"when": "notebookCellListFocused"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "f16",
"command": "railsTestRunner.runTestAtLine"
},
{
"key": "f17",
"command": "railsTestRunner.runAllTestsInFile"
},
{
"key": "f18",
"command": "railsTestRunner.runLastFailedTests"
},
{
"key": "f19",
"command": "railsTestRunner.runLastTests"
},
{
"key": "ctrl+l",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+k",
"command": "-workbench.action.terminal.clear",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "shift+cmd+v",
"command": "-notebook.cell.pasteAbove",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
}
]
{
"window.zoomLevel": 0,
"vs-kubernetes": {
"vs-kubernetes.helm-path": "/home/nacika/.vs-kubernetes/tools/helm/linux-amd64/helm",
"vs-kubernetes.draft-path": "/home/nacika/.vs-kubernetes/tools/draft/linux-amd64/draft"
},
"editor.multiCursorModifier": "ctrlCmd",
"editor.acceptSuggestionOnEnter": "on",
"window.closeWhenEmpty": false,
"files.insertFinalNewline": true,
"editor.showFoldingControls": "always",
"editor.fontSize": 11,
"window.openFilesInNewWindow": "off",
"editor.trimAutoWhitespace": true,
"files.trimTrailingWhitespace": false,
"editor.wordWrap": "off",
"editor.formatOnPaste": false,
"editor.snippetSuggestions": "none",
"workbench.colorTheme": "Darcula",
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.tabSize": 2,
"workbench.tree.indent": 16,
// "saveAndRun": {
// "commands": [
// {
// "match": "\\.rb$",
// "cmd": "/Users/nacika/.rbenv/versions/2.6.2/bin/rufo '${file}'",
// "useShortcut": false,
// "silent": true
// }
// ]
// },
"solargraph.autoformat": true,
"solargraph.commandPath": "/Users/nacika/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/solargraph-0.39.17/bin/solargraph",
"solargraph.bundlerPath": "/Users/nacika/.rbenv/versions/2.7.1/bin/bundle",
"ruby.intellisense": "rubyLocate",
"terminal.integrated.scrollback": 99999,
"debug.console.wordWrap": false,
"files.autoSave": "onFocusChange",
"files.autoSaveDelay": 1000,
"testExplorer.showOnRun": true,
"testExplorer.addToEditorContextMenu": true,
"testExplorer.showExpandButton": 5,
"ruby.useLanguageServer": true,
"ruby.lint": {},
"ruby.format": "rufo",
"ruby.codeCompletion": "rcodetools",
"ruby.useBundler": true,
"ruby.rubocop.useBundler": false,
"ruby.rubocop.onSave": true,
"rufo.exe": "/Users/nacika/.rbenv/versions/2.6.2/bin/rufo",
"rufo.useBundler": false,
"rubyTestExplorer.logpanel": true,
"rubyTestExplorer.testFramework": "rspec",
// "[php]": {
// "editor.defaultFormatter": "rifi2k.format-html-in-php"
// },
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"[ruby]": {
"editor.defaultFormatter": "jnbt.vscode-rufo"
},
"yaml.schemas": {
"file:///Users/nacika/.vscode-insiders/extensions/atlassian.atlascode-2.8.5/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
},
"php-cs-fixer.lastDownload": 1608535340958,
"intelephense.phpdoc.functionTemplate": {
"summary": "$1",
"tags": [
"@param ${1:$SYMBOL_TYPE} $SYMBOL_NAME $2",
"@return ${1:$SYMBOL_TYPE} $2",
"@throws ${1:$SYMBOL_TYPE} $2"
]
},
"terminal.integrated.shell.osx": "/bin/bash",
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// "[php]": {
// "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment