Skip to content

Instantly share code, notes, and snippets.

@moelzanaty3
Created January 9, 2025 09:08
Show Gist options
  • Save moelzanaty3/a082e18bb21d6cbb839bd36bde595572 to your computer and use it in GitHub Desktop.
Save moelzanaty3/a082e18bb21d6cbb839bd36bde595572 to your computer and use it in GitHub Desktop.
// settings
{
"cSpell.checkOnlyEnabledFileTypes":false,
"cSpell.userWords":[
"agentkeepalive",
"Cruella",
"dalmation",
"Elzanaty",
"vfuk"
],
"editor.fontFamily":"'Monaspace Neon', monospace, 'Dank Mono', 'Operator Mono', 'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize":17,
"editor.inlineSuggest.enabled":true,
"editor.quickSuggestions":{
"strings":true
},
"git.autofetch":true,
"javascript.updateImportsOnFileMove.enabled":"always",
"terminal.integrated.defaultProfile.osx":"zsh",
"terminal.integrated.env.osx":{
"FIG_NEW_SESSION":"1",
"Q_NEW_SESSION":"1"
},
"terminal.integrated.fontSize":16,
"typescript.updateImportsOnFileMove.enabled":"always",
"errorLens.enabledDiagnosticLevels":[
"warning",
"info"
],
"errorLens.statusBarIconsEnabled":true,
"errorLens.editorHoverPartsEnabled":{
"messageEnabled":true
},
"errorLens.statusBarColorsEnabled":true,
"errorLens.enabled":true,
"vsintellicode.typescript.completionsEnabled":false,
"javascript.suggest.includeAutomaticOptionalChainCompletions":false,
"javascript.suggest.classMemberSnippets.enabled":false,
"typescript.suggest.classMemberSnippets.enabled":false,
"typescript.suggest.objectLiteralMethodSnippets.enabled":false,
"editor.suggest.showSnippets":false,
"[typescriptreact]":{
"editor.defaultFormatter":"esbenp.prettier-vscode"
},
"prettier.singleQuote":true,
"prettier.semi":false,
"prettier.requireConfig":true,
"editor.defaultFormatter":"esbenp.prettier-vscode",
"terminal.integrated.profiles.linux":{
"bash":{
"path":"bash",
"icon":"terminal-bash"
},
"zsh":{
"path":"zsh"
},
"fish":{
"path":"fish"
},
"tmux":{
"path":"tmux",
"icon":"terminal-tmux"
},
"pwsh":{
"path":"pwsh",
"icon":"terminal-powershell"
}
},
"window.commandCenter":false,
"editor.tabSize":2,
"workbench.tree.renderIndentGuides": "always",
"workbench.editor.editorActionsLocation":"hidden",
"search.exclude":{
".next": true,
"**/.build": true,
"**/.gh-pages": true,
"**/.next": true,
"**/bower_components": true,
"**/build": true,
"**/coverage": true,
"**/dist": true,
"**/node_modules": true
},
"workbench.activityBar.location": "top",
"typescript.inlayHints.parameterTypes.enabled":false,
"typescript.inlayHints.propertyDeclarationTypes.enabled":true,
"typescript.inlayHints.variableTypes.enabled": false,
"typescript.inlayHints.functionLikeReturnTypes.enabled":false,
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
"javascript.inlayHints.parameterNames.enabled":"all",
"javascript.inlayHints.parameterTypes.enabled":true,
"javascript.inlayHints.propertyDeclarationTypes.enabled": true,
"javascript.inlayHints.functionLikeReturnTypes.enabled":true,
"javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName":false,
"javascript.inlayHints.variableTypes.suppressWhenTypeMatchesName": false,
"workbench.colorTheme":"Tokyo Night",
"editor.minimap.enabled":false,
"terminal.integrated.allowedLinkSchemes":[
"file",
"http",
"https",
"mailto",
"vscode",
"vscode-insiders",
"docker-desktop"
],
"git.ignoreRebaseWarning":true,
"editor.tokenColorCustomizations":{
"[GitHub Light Default]": {
"textMateRules": [
{
"scope": [
"constant",
"entity.name.constant",
"variable.other.constant",
"variable.other.enummember",
"variable.language"
],
"settings": {
"foreground": "#24292E"
}
},
{
"scope": "entity.name.type",
"settings": {
"foreground": "#24292E"
}
},
{
"scope": "entity.name",
"settings": {
"foreground": "#6F42C1"
}
},
{
"scope": "variable.other",
"settings": {
"foreground": "#005CC5"
}
},
{
"scope": "variable",
"settings": {
"foreground": "#47423f"
}
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"settings": {
"foreground": "#316BCD"
}
},
{
"name": "HTML Tag names",
"scope": [
"entity.name.tag",
"meta.tag.other.html",
"meta.tag.other.js",
"meta.tag.other.tsx",
"entity.name.tag.tsx",
"entity.name.tag.js",
"entity.name.tag",
"meta.tag.js",
"meta.tag.tsx",
"meta.tag.html"
],
"settings": {
"foreground": "#316BCD",
"fontStyle": ""
}
},
{
"name": "TypeScript[React] Variables and Object Properties",
"scope": [
"variable.other.readwrite.alias.ts",
"variable.other.readwrite.alias.tsx",
"variable.other.readwrite.ts",
"variable.other.readwrite.tsx",
"variable.other.object.ts",
"variable.other.object.tsx",
"variable.object.property.ts",
"variable.object.property.tsx",
"variable.other.ts",
"variable.other.tsx",
"variable.tsx",
"variable.ts"
],
"settings": {
"foreground": "#24292E"
}
}
]
},
},
"githubPullRequests.pushBranch":"always",
"diffEditor.ignoreTrimWhitespace": false,
"cursor.chat.showSuggestedFiles": true,
"editor.accessibilitySupport": "off",
"redhat.telemetry.enabled": false,
"[dotenv]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"files.associations": {
".env*": "dotenv"
},
"[properties]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"gitlens.ai.generateCommitMessage.customInstructions": "",
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[go]": {
"editor.defaultFormatter": "golang.go"
},
"[python]":{
"editor.defaultFormatter": "ms-python.autopep8",
"editor.tabSize": 2,
"editor.formatOnType": true,
},
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false,
},
"vim.visualModeKeyBindings": [
{
"before": ["<S-CR>"],
"after": [":noh <CR>"]
},
{
"before": ["<C-j>"],
"after": [":m '>+1<CR>"]
},
{
"before": ["<C-k>"],
"after": [":m '<-2<CR>"]
}
],
"extensions.experimental.affinity": {
"vscodevim.vim": 1,
"asvetliakov.vscode-neovim": 1
},
"editor.lineNumbers": "relative",
"workbench.iconTheme": "material-icon-theme",
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.js",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb",
"*.sqlite": "${capture}.${extname}-*",
"*.db": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
}
// key bidning
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+d",
"command": "vim.remap",
"args": {
"after": ["<C-d>", "z", "z"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "ctrl+u",
"command": "vim.remap",
"args": {
"after": ["<C-u>", "z", "z"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "n",
"command": "vim.remap",
"args": {
"after": ["n", "z", "z"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "N",
"command": "vim.remap",
"args": {
"after": ["N", "z", "z"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "ctrl+a",
"command": "vim.remap",
"args": {
"after": ["g", "g", "<S-v>", "G"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s s",
"command": "workbench.action.splitEditor",
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s v",
"command": "workbench.action.splitEditorOrthogonal",
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s h",
"command": "vim.remap",
"args": {
"after": ["<C-w>", "h"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s k",
"command": "vim.remap",
"args": {
"after": ["<C-w>", "k"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s j",
"command": "vim.remap",
"args": {
"after": ["<C-w>", "j"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "s l",
"command": "vim.remap",
"args": {
"after": ["<C-w>", "l"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "c j",
"command": "vim.remap",
"args": {
"after": ["y", "y", "p"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "c k",
"command": "vim.remap",
"args": {
"after": ["y", "y", "P"]
},
"when": "editorTextFocus && vim.mode == 'Normal'"
},
{
"key": "c o",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment