Skip to content

Instantly share code, notes, and snippets.

@atkvishnu
Created February 24, 2022 03:23
Show Gist options
  • Save atkvishnu/11f06c5d9a720f2f665db08b69775d5e to your computer and use it in GitHub Desktop.
Save atkvishnu/11f06c5d9a720f2f665db08b69775d5e to your computer and use it in GitHub Desktop.
VSCode personal settings.json
{
"workbench.startupEditor": "none",
"code-runner.fileDirectoryAsCwd": true,
"code-runner.runInTerminal": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.terminalRoot": "/mnt/",
// shell config
// "code-runner.terminalRoot": "/mnt/",
// "terminal.external.windowsExec": "/mnt/c/Windows/System32/cmd.exe",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},
"WSL": {
"path": [
"C:\\WINDOWS\\System32\\wsl.exe"
],
"args": [],
}
},
"terminal.integrated.defaultProfile.windows": "WSL",
"editor.inlineSuggest.enabled": true,
// vim extension
"vim.easymotion": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.incsearch": true, // Show the next match while entering a search
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
// {
// "before": ["j","j"],
// "after": ["<Esc>"]
// }
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"<leader>",
"d"
],
"after": [
"d",
"d"
]
},
{
"before": [
"<leader>",
"m"
], // Bind <leader>m to add a bookmark
"commands": [
"bookmarks.toggle"
]
},
{
"before": [
"<leader>",
"b"
], // Bind <leader>b to open the list of all bookmarks
"commands": [
"bookmarks.list"
]
},
// {
// "before": ["<C-n>"], // C-n is used for word completion
// "after": [":nohl"]
// }
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false, // disable Ctrl+A to use ctrl+a for select all
"<C-c>": false, // disable Ctrl+G to use ctrl+c for copy
"<C-v>": false, // disable Ctrl+V to use ctrl+v for paste
"<C-x>": false,
"<C-w>": false, // disable Ctrl+W to use ctrl+w for closing window
"<C-f>": false, // disable Ctrl+F to use ctrl+f for find
"<C-h>": false, // disable Ctrl+h to use ctrl+n for replace
"<A-S-down>": false,
},
// peacock extension
"peacock.favoriteColors": [
{
"name": "Angular Red",
"value": "#dd0531"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#61dafb"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Svelte Orange",
"value": "#ff3d00"
},
{
"name": "Vue Green",
"value": "#42b883"
}
],
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true,
"cpp": true
},
"terminal.explorerKind": "external",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// highlight extension
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": false,
"todohighlight.keywords": [
{
"text": "NOTE:",
"color": "black",
"backgroundColor": "#abff32",
"overviewRulerColor": "#abff32"
},
{
"text": "HACK:",
"color": "#000",
"isWholeLine": false,
"backgroundColor": "#1ca9c9",
"overviewRulerColor": "#1ca9c9",
"border": "1px solid #1ca9c9",
},
{
"text": "TODO:",
"color": "#000000",
"border": "1px solid #fdff32",
"borderRadius": "2px",
"backgroundColor": "#fdff32",
"overviewRulerColor": "#fdff32"
//other styling properties goes here ...
},
{
"text": "attention:",
"color": "white",
"backgroundColor": "#F72F35",
"overviewRulerColor": "#F72F35",
"border": "1px solid #F72F35",
"borderRadius": "3px",
"isWholeLine": true
},
{
"text": "debug:",
"color": "#000",
"backgroundColor": "#fefdfa",
"overviewRulerColor": "#fefdfa",
"border": "1px solid #fefdfa",
"borderRadius": "3px",
"isWholeLine": false
},
{
"text": "FIXME:",
"color": "black",
"backgroundColor": "#de2bb3",
"overviewRulerColor": "#de2bb3",
"border": "1px solid #de2bb3",
"borderRadius": "3px",
"isWholeLine": false
},
{
"text": "KIM:",
"color": "black",
"backgroundColor": "#ff8429",
"overviewRulerColor": "#ff8429",
"border": "1px solid #ff8429",
"borderRadius": "3px",
"isWholeLine": false
},
{
"text": "review:",
"color": "black",
"backgroundColor": "#24ffe9",
"overviewRulerColor": "#24ffe9",
"border": "1px solid #24ffe9",
"borderRadius": "3px",
"isWholeLine": false
},
],
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.php",
"**/*.css",
"**/*.scss"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"todohighlight.maxFilesForSearch": 5120,
"todohighlight.toggleURI": false,
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Monokai",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"liveServer.settings.donotShowInfoMsg": true,
"vsicons.dontShowNewVersionMessage": true,
"scm.alwaysShowRepositories": true,
"prettier.tabWidth": 4,
"prettier.useTabs": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment