This repository has been archived on 2023-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
vscode/settings.json

258 lines
6.7 KiB
JSON

{
// VIM
"keyboard.dispatch": "keyCode",
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.showMarksInGutter": true,
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "c"],
"commands": ["editor.action.commentLine", "extension.vim_escape"]
},
{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "c"],
"commands": ["editor.action.commentLine", "extension.vim_escape"]
},
{
"before": ["<leader>", "g", "g"],
"commands": ["extension.gitGrep"]
},
{
"before": ["<leader>", "n"],
"commands": [":nohl"]
},
{
"before": ["<space>"],
"commands": ["workbench.action.files.save"]
},
{
"before": ["<leader>", "<space>"],
"commands": ["whichkey.show"]
},
{
"before": ["<leader>", "w"],
"commands": ["workbench.action.splitEditor"]
},
{
"before": ["<leader>", "d"],
"commands": ["workbench.action.splitEditorDown"]
},
{
"before": ["<leader>", "t"],
"commands": ["workbench.action.toggleSidebarVisibility"]
},
{
"before": ["<leader>", "f"],
"commands": ["revealInExplorer"]
},
{
"before": ["<leader>", "o", "i"],
"commands": ["workbench.action.showEditorsInActiveGroup"]
},
{
"before": ["<leader>", "o", "o"],
"commands": ["workbench.action.quickOpen"]
},
{
"before": ["<leader>", "g", "a"],
"commands": ["workbench.action.showAllSymbols"]
},
{
"before": ["<leader>", "g", "b"],
"commands": ["workbench.action.gotoSymbol"]
},
{
"before": ["<leader>", "g", "d"],
"commands": ["editor.action.revealDefinition"]
},
{
"before": ["<leader>", "g", "r"],
"commands": ["references-view.find"]
},
{
"before": ["<leader>", "g", "t"],
"commands": ["editor.action.referenceSearch.trigger"]
},
{
"before": ["<leader>", "h"],
"commands": ["workbench.action.focusLeftGroup"]
},
{
"before": ["<leader>", "j"],
"commands": ["workbench.action.focusBelowGroup"]
},
{
"before": ["<leader>", "k"],
"commands": ["workbench.action.focusAboveGroup"]
},
{
"before": ["<leader>", "l"],
"commands": ["workbench.action.focusRightGroup"]
},
{
"before": ["<leader>", "g", "s"],
"commands": ["magit.status"]
},
{
"before": ["<leader>", "r", "u"],
"commands": ["extension.rubyBlockToggle"]
},
{
"before": ["<leader>", "r", "t"],
"commands": ["workbench.action.tasks.runTask"]
},
{
"before": ["<leader>", "b", "c"],
"commands": ["copyRelativeFilePath"]
}
],
"vim.leader": ",",
"vim.handleKeys": {
"<C-o>": false,
"<C-i>": false,
"<C-w>": false,
"<C-f>": false,
"<C-k>": false,
"<C-c>": false,
"<C-v>": false,
"<C-j>": false
},
"vim.statusBarColorControl": false,
// Editor
"editor.fontFamily": "'Hack Nerd Font Mono', Monaco, 'Courier New', monospace",
"editor.fontSize": 11,
"editor.bracketPairColorization.enabled": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"editor.fontLigatures": true,
"editor.formatOnPaste": true,
"editor.formatOnType": false,
"editor.formatOnSave": true,
"editor.suggestSelection": "first",
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": false,
"editor.cursorSmoothCaretAnimation": "on",
"editor.smoothScrolling": true,
"editor.cursorBlinking": "smooth",
"editor.minimap.enabled": false,
"editor.tabSize": 8,
"editor.cursorStyle": "line",
"window.menuBarVisibility": "toggle",
"zenMode.hideStatusBar": false,
"zenMode.hideTabs": false,
"zenMode.hideLineNumbers": false,
"editor.insertSpaces": false,
"editor.lineNumbers": "relative",
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
"editor.wordWrap": "off",
"workbench.colorTheme": "Gruvbox Light Soft",
"workbench.colorCustomizations": {
"editorBracketHighlight.foreground1": "#d79921",
"editorBracketHighlight.foreground2": "#458588",
"editorBracketHighlight.foreground3": "#b16286",
"editorBracketHighlight.foreground4": "#689d6a",
"editorBracketHighlight.foreground5": "#d65d0e",
"editorBracketHighlight.foreground6": "#ebbdb2"
},
"workbench.iconTheme": "bearded-icons",
"workbench.sideBar.location": "right",
// Terminal
"terminal.integrated.enablePersistentSessions": false,
"terminal.integrated.fontFamily": "'MesloLGS NF'",
"terminal.integrated.fontSize": 11,
// Git
"redhat.telemetry.enabled": false,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false
},
"gitlens.keymap": "alternate",
"githubPullRequests.pullBranch": "never",
"git.mergeEditor": false,
// LUA
"Lua.telemetry.enable": false,
// Go
"go.toolsManagement.autoUpdate": true,
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"go.lintTool": "golint",
// Ruby
"solargraph.autoformat": true,
"solargraph.commandPath": "solargraph",
"[ruby]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree"
},
// JS/TS
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[javascript]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Python
"[python]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
// Elixir / Erlang
"[elixir]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[erlang]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
// Crystal
"[crystal]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
// Rust
"[rust]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
// Markup
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[html]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"emmet.includeLanguages": {
"erb": "html"
}
}