Skip to content

Instantly share code, notes, and snippets.

@AeroCross
Last active June 23, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AeroCross/f4d65ea117c74064ae350ad23bda726e to your computer and use it in GitHub Desktop.
Save AeroCross/f4d65ea117c74064ae350ad23bda726e to your computer and use it in GitHub Desktop.
VS Code Settings
{
// editor configuration
"breadcrumbs.enabled": true,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.fontFamily": "SF Mono, Roboto Mono Medium for Powerline, Menlo, monospace",
"editor.fontSize": 14,
"editor.lineHeight": 24,
"editor.occurrencesHighlight": false,
"editor.quickSuggestionsDelay": 0,
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"editor.rulers": [80, 120],
"editor.smoothScrolling": false,
"editor.tabSize": 2,
"files.insertFinalNewline": true,
"files.useExperimentalFileWatcher": true,
"flow.useLSP": false,
"flow.useNPMPackagedFlow": true,
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.hovers.enabled": false,
"gitlens.keymap": "alternate",
"gitlens.statusBar.enabled": false,
"gitlens.views.fileHistory.enabled": false,
"gitlens.views.lineHistory.enabled": false,
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.updateImportsOnFileMove.enabled": "never",
"javascript.validate.enable": false,
"markdown.preview.doubleClickToSwitchToEditor": false,
"ruby.intellisense": false,
"search.location": "panel",
"search.quickOpen.includeHistory": false,
"search.showLineNumbers": true,
"search.useGlobalIgnoreFiles": true,
"solargraph.commandPath": "/Users/mario/.rbenv/shims/solargraph",
"solargraph.definitions": true,
"solargraph.folding": true,
"solargraph.formatting": true,
"solargraph.references": true,
"solargraph.rename": true,
"solargraph.symbols": true,
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.fontFamily": "Operator Mono, Roboto Mono for Powerline, Menlo, monospace",
"terminal.integrated.fontSize": 14,
"terminal.integrated.lineHeight": 1,
"typescript.suggest.autoImports": false,
"typescript.validate.enable": false,
"window.nativeFullScreen": false,
"window.zoomLevel": 0,
"workbench.activityBar.visible": false,
"workbench.commandPalette.history": 0,
"workbench.editor.highlightModifiedTabs": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.statusBar.visible": true,
"zenMode.fullScreen": false,
// extension or language specific configuration
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"[javascript]": {
"editor.formatOnSave": true
},
"[postcss]": {
"editor.formatOnSave": true
},
"files.associations": {
"*.css": "postcss",
"*.jsx": "javascript"
},
"[ruby]": {
"editor.formatOnSave": true
},
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
// vim configuration
"vim.disableExtension": false,
"vim.easymotion": true,
"vim.easymotionKeys": "hklyuiopnmqwertzxcvbasdgjf",
"vim.easymotionMarkerFontFamily": "Roboto Mono Medium for Powerline, Menlo, monospace",
"vim.easymotionMarkerFontWeight": "bold",
"vim.foldfix": true,
"vim.hlsearch": true,
"vim.highlightedyank.duration": 600,
"vim.highlightedyank.enable": true,
"vim.leader": " ",
"vim.sneak": true,
"vim.useSystemClipboard": true,
"vim.insertModeKeyBindings": [
// Enter normal mode with jj
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindings": [
// Workaround: Visual Mode chord bug
// https://github.com/VSCodeVim/Vim/issues/2842
// {
// "before": ["v"],
// "after": ["v", "l", "h"]
// },
// Double leader with \
{
"before": ["\\"],
"after": ["<leader>", "<leader>"]
},
// Show all editors
{
"before": ["<leader>", "l"],
"commands": [
{
"command": "workbench.action.showAllEditors"
}
]
},
// Show all editors in the current group
{
"before": ["<leader>", "f"],
"commands": [
{
"command": "workbench.action.showEditorsInActiveGroup"
}
]
},
// Open recent files
{
"before": ["<leader>", "R"],
"commands": [
{
"command": "workbench.action.openRecent"
}
]
},
// Select all
{
"before": ["<leader>", "a"],
"after": ["g", "g", "V", "G"]
},
// Go to matching bracket
{
"before": ["<leader>", "m"],
"after": ["%"]
},
// Clear Search Highlight with Enter
{
"before": ["<CR>"],
"commands": [
{
"command": ":nohl"
}
]
},
// Copy file path
{
"before": ["<leader>", "p"],
"commands": [
{
"command": "copyFilePath"
}
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
// Go to beginning of line
{
"before": ["H"],
"after": ["^"]
},
// Go to end of line
{
"before": ["L"],
"after": ["$"]
},
// Copy until end of line
{
"before": ["Y"],
"after": ["y", "$"]
},
// "Find next" centres the viewport
{
"before": ["n"],
"after": ["n", "z", "z"]
},
// "Find previous" centres the viewport
{
"before": ["N"],
"after": ["N", "z", "z"]
},
// Highlight / search word under cursor
{
"before": ["<leader>", "h"],
"after": ["*", "N"]
},
// Delete character or selection without adding to register
{
"before": ["<leader>", "x"],
"after": ["\"", "_", "x"]
},
// Search on Dash
{
"before": ["<C-h>"],
"commands": [
{
"command": "extension.dash.specific"
}
]
},
// Show Repository Status
{
"before": ["<leader>", "d"],
"commands": [
{
"command": "gitlens.showQuickRepoStatus"
}
]
},
// Jump between changes in file
{
"before": ["]", "d"],
"after": [""],
"commands": [
{
"command": "workbench.action.editor.nextChange"
}
]
},
{
"before": ["[", "d"],
"after": [""],
"commands": [
{
"command": "workbench.action.editor.previousChange"
}
]
},
// Maximise editor width
{
"before": ["g", "i"],
"after": [""],
"commands": [
{
"command": "workbench.action.maximizeEditor"
}
]
},
// Restore editor width
{
"before": ["g", "o"],
"after": [""],
"commands": [
{
"command": "workbench.action.evenEditorWidths"
}
]
}
],
"vim.visualModeKeyBindingsNonRecursive": [
// Go to beginning of line
{
"before": ["H"],
"after": ["^", "l"]
},
// Go to end of line
{
"before": ["L"],
"after": ["$", "h"]
},
// Copy until end of line
{
"before": ["Y"],
"after": ["y", "$"]
},
// Go to matching bracket
{
"before": ["<leader>", "m"],
"after": ["%"]
}
],
"update.showReleaseNotes": false,
"update.mode": "none",
"workbench.colorTheme": "Atom One Dark",
"workbench.editor.enablePreview": false,
"terminal.integrated.shell.osx": "/usr/local/bin/fish"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment