VSpaceCode / VSpaceCode

Spacemacs like keybindings for Visual Studio Code

Home Page:https://vspacecode.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<TAB> in magit status on a section does not toggle the fold

martisj opened this issue · comments

Bug description

To Reproduce

  1. Enter magit status <SPC>gs
  2. Go to "Staged changes" section
  3. Hit <TAB>

Expected behavior

I expect to see the diff inlined

Screenshots

image

Additional context

Keybindings

Click to toggle contents of `keybindings.json`

// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "alt+w",
        "command": "-toggleSearchEditorWholeWord",
        "when": "inSearchEditor && searchInputBoxFocus"
    },
    {
        "key": "alt+w",
        "command": "-workbench.action.terminal.toggleFindWholeWord",
        "when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
    },
    {
        "key": "alt+w",
        "command": "-toggleFindWholeWord",
        "when": "editorFocus"
    },
    {
        "key": "alt+w",
        "command": "-toggleSearchWholeWord",
        "when": "searchViewletFocus"
    },
    {
        "key": "alt+w",
        "command": "workbench.action.closeActiveEditor"
    },
    {
        "key": "alt+w",
        "command": "workbench.action.terminal.killEditor",
        "when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'"
    },
    {
        "key": "alt+b",
        "command": "workbench.action.toggleSidebarVisibility"
    },
    {
        "key": "alt+j",
        "command": "workbench.action.togglePanel"
    },
    {
        "key": "alt+r",
        "command": "workbench.action.gotoSymbol",
        "when": "editorTextFocus"
    },
    {
        "key": "space",
        "command": "vspacecode.space",
        "when": "activeEditorGroupEmpty && focusedView == '' && !whichkeyActive && !inputFocus"
    },
    {
        "key": "space",
        "command": "vspacecode.space",
        "when": "sideBarFocus && !inputFocus && !whichkeyActive"
    },
    {
        "key": "tab",
        "command": "extension.vim_tab",
        "when": "editorFocus && vim.active && !inDebugRepl && vim.mode != 'Insert' && editorLangId != 'magit'"
    },
    {
        "key": "tab",
        "command": "-extension.vim_tab",
        "when": "editorFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
    },
    {
        "key": "x",
        "command": "magit.discard-at-point",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
    },
    {
        "key": "k",
        "command": "-magit.discard-at-point"
    },
    {
        "key": "-",
        "command": "magit.reverse-at-point",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
    },
    {
        "key": "v",
        "command": "-magit.reverse-at-point"
    },
    {
        "key": "shift+-",
        "command": "magit.reverting",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
    },
    {
        "key": "shift+v",
        "command": "-magit.reverting"
    },
    {
        "key": "shift+o",
        "command": "magit.resetting",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode =~ /^(?!SearchInProgressMode|CommandlineInProgress).*$/"
    },
    {
        "key": "shift+x",
        "command": "-magit.resetting"
    },
    {
        "key": "x",
        "command": "-magit.reset-mixed"
    },
    {
        "key": "ctrl+u x",
        "command": "-magit.reset-hard"
    },
    {
        "key": "y",
        "command": "-magit.show-refs"
    },
    {
        "key": "y",
        "command": "vspacecode.showMagitRefMenu",
        "when": "editorTextFocus && editorLangId == 'magit' && vim.mode == 'Normal'"
    },
    {
        "key": "ctrl+j",
        "command": "workbench.action.quickOpenSelectNext",
        "when": "inQuickOpen"
    },
    {
        "key": "ctrl+k",
        "command": "workbench.action.quickOpenSelectPrevious",
        "when": "inQuickOpen"
    },
    {
        "key": "ctrl+j",
        "command": "selectNextSuggestion",
        "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "ctrl+k",
        "command": "selectPrevSuggestion",
        "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "ctrl+l",
        "command": "acceptSelectedSuggestion",
        "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "ctrl+j",
        "command": "showNextParameterHint",
        "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
    },
    {
        "key": "ctrl+k",
        "command": "showPrevParameterHint",
        "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
    },
    {
        "key": "ctrl+j",
        "command": "selectNextCodeAction",
        "when": "codeActionMenuVisible"
    },
    {
        "key": "ctrl+k",
        "command": "selectPrevCodeAction",
        "when": "codeActionMenuVisible"
    },
    {
        "key": "ctrl+l",
        "command": "acceptSelectedCodeAction",
        "when": "codeActionMenuVisible"
    },
    {
        "key": "ctrl+h",
        "command": "file-browser.stepOut",
        "when": "inFileBrowser"
    },
    {
        "key": "ctrl+l",
        "command": "file-browser.stepIn",
        "when": "inFileBrowser"
    },
    {
        "key": "ctrl+h",
        "command": "workbench.action.navigateLeft",
        "when": "!inQuickOpen && !suggestWidgetVisible && !parameterHintsVisible && !isInDiffEditor"
    },
    {
        "key": "ctrl+j",
        "command": "workbench.action.navigateDown",
        "when": "!codeActionMenuVisible && !inQuickOpen && !suggestWidgetVisible && !parameterHintsVisible"
    },
    {
        "key": "ctrl+k",
        "command": "workbench.action.navigateUp",
        "when": "!codeActionMenuVisible && !inQuickOpen && !suggestWidgetVisible && !parameterHintsVisible"
    },
    {
        "key": "ctrl+l",
        "command": "workbench.action.navigateRight",
        "when": "!codeActionMenuVisible && !inQuickOpen && !suggestWidgetVisible && !parameterHintsVisible && !isInDiffEditor"
    },
    // Quick Navigation for diff view
    {
        "key": "ctrl+h",
        "command": "workbench.action.compareEditor.focusSecondarySide",
        "when": "isInDiffEditor && !isInDiffLeftEditor"
    },
    {
        "key": "ctrl+h",
        "command": "workbench.action.navigateLeft",
        "when": "isInDiffEditor && isInDiffLeftEditor"
    },
    {
        "key": "ctrl+l",
        "command": "workbench.action.compareEditor.focusPrimarySide",
        "when": "isInDiffEditor && isInDiffLeftEditor"
    },
    {
        "key": "ctrl+l",
        "command": "workbench.action.navigateRight",
        "when": "isInDiffEditor && !isInDiffLeftEditor"
    },
    {
        "key": "ctrl+h",
        "command": "list.collapse",
        "when": "listFocus && !inputFocus"
    },
    {
        "key": "ctrl+l",
        "command": "list.expand",
        "when": "listFocus && !inputFocus"
    },
    {
        "key": "ctrl+j",
        "command": "list.focusDown",
        "when": "listFocus && !inputFocus"
    },
    {
        "key": "ctrl+k",
        "command": "list.focusUp",
        "when": "listFocus && !inputFocus"
    },
    // {
    //     "key": "tab",
    //     "command": "-editor.emmet.action.expandAbbreviation",
    //     "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
    // },
    {
        "key": "ctrl+e",
        "command": "editor.emmet.action.expandAbbreviation"
    },
    {
        "key": "f4",
        "command": "references-view.next",
        "when": "!hasSearchResult && reference-list.hasResult && references-view.canNavigate"
    },
    {
        "key": "f4",
        "command": "-references-view.next",
        "when": "reference-list.hasResult && references-view.canNavigate"
    },
    {
        "key": "tab",
        "command": "-editor.emmet.action.expandAbbreviation",
        "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
    }
]

Settings

Click to toggle contents of `settings.json`

{
    "breadcrumbs.enabled": true,
    "css.lint.boxModel": "warning",
    "css.lint.duplicateProperties": "warning",
    "css.lint.float": "warning",
    "css.lint.idSelector": "warning",
    "css.lint.ieHack": "warning",
    "css.lint.importStatement": "warning",
    "css.lint.important": "warning",
    "css.lint.zeroUnits": "warning",
    "css.validate": false,
    "debug.confirmOnExit": "always",
    "debug.console.fontFamily": "'JetBrainsMono NF Medium'",
    "debug.javascript.autoAttachFilter": "onlyWithFlag",
    "diffEditor.ignoreTrimWhitespace": false,
    "diffEditor.renderSideBySide": true,
    "editor.acceptSuggestionOnCommitCharacter": false,
    "editor.acceptSuggestionOnEnter": "smart",
    "editor.accessibilitySupport": "off",
    "editor.autoClosingBrackets": "beforeWhitespace",
    "editor.autoClosingQuotes": "beforeWhitespace",
    "editor.autoSurround": "never",
    "editor.colorDecorators": false,
    "editor.cursorBlinking": "blink",
    "editor.experimentalWhitespaceRendering": "off",
    "editor.fontFamily": "'JetBrainsMono Nerd Font Mono', 'JetBrainsMonoNerdFont-Medium', SFMono-Medium, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.formatOnType": false,
    "editor.gotoLocation.multipleDefinitions": "goto",
    "editor.gotoLocation.multipleImplementations": "goto",
    "editor.guides.bracketPairs": "active",
    "editor.guides.highlightActiveBracketPair": false,
    "editor.inlineSuggest.enabled": true,
    "editor.inlineSuggest.showToolbar": "always",
    "editor.lineNumbers": "relative",
    "editor.linkedEditing": true,
    "editor.mouseWheelZoom": true,
    "editor.parameterHints.cycle": true,
    "editor.parameterHints.enabled": true,
    "editor.renderLineHighlight": "gutter",
    "editor.renderWhitespace": "all",
    "editor.roundedSelection": false,
    "editor.rulers": [119, 120],
    "editor.scrollBeyondLastLine": false,
    "editor.snippetSuggestions": "bottom",
    "editor.stickyTabStops": true,
    "editor.suggest.filterGraceful": false,
    "editor.suggest.localityBonus": true,
    "editor.suggest.preview": true,
    "editor.suggest.shareSuggestSelections": true,
    "editor.suggest.showDeprecated": false,
    "editor.suggest.showIssues": false,
    "editor.suggest.showStatusBar": true,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.suggestSelection": "recentlyUsed",
    "editor.tabCompletion": "off",
    "editor.tabSize": 2,
    "editor.trimAutoWhitespace": true,
    "editor.wordBasedSuggestions": true,
    "editor.wordBasedSuggestionsMode": "currentDocument",
    "editor.wordWrapColumn": 120,
    "emmet.excludeLanguages": ["markdown"],
    "emmet.optimizeStylesheetParsing": false,
    "eslint.format.enable": true,
    "eslint.lintTask.enable": true,
    "eslint.run": "onSave",
    "explorer.confirmDragAndDrop": false,
    "extensions.ignoreRecommendations": false,
    "files.autoSaveDelay": 500,
    "git.autofetch": true,
    "git.confirmSync": false,
    "git.scanRepositories": ["~/Projects"],
    "githubPullRequests.fileListLayout": "tree",
    "githubPullRequests.remotes": ["origin"],
    "html-css-class-completion.enableEmmetSupport": true,
    "html.format.enable": true,
    "html.format.indentHandlebars": true,
    "html.format.indentInnerHtml": true,
    "html.format.maxPreserveNewLines": 0,
    "html.format.templating": true,
    "html.format.wrapAttributes": "force-expand-multiline",
    "html.suggest.html5": true,
    "html.validate.scripts": true,
    "html.validate.styles": true,
    "intelephense.files.associations": ["*.module", "*.php", "*.phtml"],
    "javascript.format.enable": false,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "javascript.validate.enable": true,
    "less.validate": false,
    "markdown.preview.lineHeight": 1.5,
    "path-intellisense.autoTriggerNextSuggestion": true,
    "references.preferredLocation": "view",
    "scm.defaultViewMode": "list",
    "scss.lint.duplicateProperties": "error",
    "scss.validate": false,
    "search.quickOpen.history.filterSortOrder": "recency",
    "search.searchEditor.doubleClickBehaviour": "openLocationToSide",
    "search.showLineNumbers": true,
    "search.smartCase": true,
    "search.useIgnoreFiles": true,
    "standard.enable": false,
    "svgPreview.autoOpen": false,
    "svgPreview.scaleToFit": false,
    "terminal.integrated.confirmOnExit": "always",
    "terminal.integrated.copyOnSelection": true,
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.drawBoldTextInBrightColors": false,
    "terminal.integrated.env.linux": {},
    "terminal.integrated.env.osx": {},
    "terminal.integrated.scrollback": 10000,
    "todo-tree.general.statusBar": "current file",
    "totalTypeScript.hideAllTips": false,
    "totalTypeScript.hideBasicTips": true,
    "typescript.format.enable": false,
    "typescript.referencesCodeLens.enabled": true,
    "typescript.suggest.paths": true,
    "typescript.updateImportsOnFileMove.enabled": "always",
    "typescript.workspaceSymbols.scope": "currentProject",
    "vim.autoindent": true,
    "vim.camelCaseMotion.enable": true,
    "vim.cursorStylePerMode.insert": "line",
    "vim.cursorStylePerMode.normal": "block",
    "vim.cursorStylePerMode.replace": "underline",
    "vim.easymotion": true,
    "vim.enableNeovim": true,
    "vim.foldfix": true,
    "vim.gdefault": true,
    "vim.highlightedyank.enable": true,
    "vim.history": 100,
    "vim.hlsearch": true,
    "vim.ignorecase": true,
    "vim.incsearch": true,
    "vim.joinspaces": false,
    "vim.mouseSelectionGoesIntoVisualMode": true,
    "vim.showMarksInGutter": true,
    "vim.showcmd": true,
    "vim.sneak": true,
    "vim.sneakReplacesF": true,
    "vim.targets.enable": true,
    "vim.useSystemClipboard": true,
    "vim.visualstar": true,
    "window.title": "${dirty}${rootName}:${activeEditorShort}",
    "workbench.activityBar.visible": false,
    "workbench.colorTheme": "Catppuccin Macchiato",
    "workbench.editor.highlightModifiedTabs": true,
    "workbench.editor.tabCloseButton": "off",
    "workbench.iconTheme": "vs-seti",
    "workbench.quickOpen.closeOnFocusLost": true,
    "workbench.sideBar.location": "left",
    "workbench.startupEditor": "welcomePageInEmptyWorkbench",
    "workbench.tree.renderIndentGuides": "always",
    "zenMode.hideLineNumbers": false,
    "zenMode.hideStatusBar": false,
    "extensions.experimental.affinity": {
        "vscodevim.vim": 1,
        "asvetliakov.vscode-neovim": 1,
        "auiworks.amvim": 1
    },
    "editor.quickSuggestions": {
        "strings": "on"
    },
    "eslint.validate": [
        "javascript",
        "typescript",
        "typescriptreact",
        "javascriptreact"
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "totalTypeScript.hiddenTips": [
        "type-predicate",
        "passing-generics-to-types",
        "generic-slots-in-functions",
        "typeof",
        "omit-utility-type"
    ],
    "[php]": {
        "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
    },
    "github.copilot.advanced": {
        "inlineSuggestCount": 2
    },
    "intelephense.stubs": [
        "apache",
        "bcmath",
        "bz2",
        "calendar",
        "com_dotnet",
        "Core",
        "ctype",
        "curl",
        "date",
        "dba",
        "dom",
        "enchant",
        "exif",
        "FFI",
        "fileinfo",
        "filter",
        "fpm",
        "ftp",
        "gd",
        "gettext",
        "gmp",
        "hash",
        "iconv",
        "imap",
        "intl",
        "json",
        "ldap",
        "libxml",
        "mbstring",
        "meta",
        "mysqli",
        "oci8",
        "odbc",
        "openssl",
        "pcntl",
        "pcre",
        "PDO",
        "pdo_ibm",
        "pdo_mysql",
        "pdo_pgsql",
        "pdo_sqlite",
        "pgsql",
        "Phar",
        "posix",
        "pspell",
        "readline",
        "Reflection",
        "session",
        "shmop",
        "SimpleXML",
        "snmp",
        "soap",
        "sockets",
        "sodium",
        "SPL",
        "sqlite3",
        "standard",
        "superglobals",
        "sysvmsg",
        "sysvsem",
        "sysvshm",
        "tidy",
        "tokenizer",
        "xml",
        "xmlreader",
        "xmlrpc",
        "xmlwriter",
        "xsl",
        "Zend OPcache",
        "zip",
        "zlib",
        "wordpress"
    ],
    "files.exclude": {
        "**/*.js.map": true,
        "**/node_modules": true,
        "node_modules": true
    },
    "[markdown]": {
        "editor.quickSuggestions": {
            "comments": true,
            "strings": true,
            "other": true
        }
    },
    "[handlebars]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "[json]": {
        "editor.quickSuggestions": {
            "strings": true,
            "other": true,
            "comments": true
        },
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
        "editor.quickSuggestions": {
            "strings": true,
            "other": true,
            "comments": true
        },
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[typescript]": {
        "editor.defaultFormatter": "dbaeumer.vscode-eslint"
    },
    "[html]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[css]": {
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.codeActionsOnSave": {
            "source.fixAll.stylelint": true
        }
    },
    "[scss]": {
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.codeActionsOnSave": {
            "source.fixAll.stylelint": true
        }
    },
    "emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
    "emmet.triggerExpansionOnTab": false,
    "emmet.showSuggestionsAsSnippets": false,
    "emmet.includeLanguages": {
        "typescript": "typescriptreact",
        "javascript": "javascriptreact",
        "gohtml": "html",
        "markdown": "html",
        "php": "html",
        "svelte": "html"
    },
    "githubIssues.queries": [
        {
            "label": "My Issues",
            "query": "default"
        },
        {
            "label": "Created Issues",
            "query": "author:${user} state:open repo:${owner}/${repository} sort:updated-desc"
        }
    ],
    "files.associations": {
        "*.js": "javascriptreact",
        "*.module": "php"
        // "*.tsx": "typescriptreact"
    },
    // "vim.insertModeKeyBindings": [
    //     {
    //         "before": ["<C-y>"],
    //         "commands": ["emmet.expandAbbreviation"],
    //         "after": ["<C-]><C-]>"]
    //     }
    // ],
    // "vim.insertModeKeyBindingsNonRecursive": [
    //     {
    //         "before": ["<C-y>"],
    //         "after": [],
    //         "commands": [
    //             {
    //                 "command": "emmet.expandAbbreviation"
    //             },
    //             {
    //                 "command": "extension.vim_escape"
    //             },
    //             {
    //                 "command": "extension.vim_insert"
    //             },
    //             {
    //                 "command": "extension.vim_right"
    //             },
    //             {
    //                 "command": "extension.vim_right"
    //             },
    //             {
    //                 "command": "extension.vim_right"
    //             },
    //             {
    //                 "command": "extension.vim_right"
    //             },
    //             {
    //                 "command": "extension.vim_right"
    //             }
    //         ]
    //     }
    // ],
    "vim.visualModeKeyBindings": [
        // Bind > and < in visual mode to indent/outdent lines (repeatable)
        {
            "before": [">"],
            "commands": ["editor.action.indentLines"]
        },
        {
            "before": ["<"],
            "commands": ["editor.action.outdentLines"]
        }
    ],
    "vim.visualModeKeyBindingsNonRecursive": [
        {
            "before": ["<space>"],
            "commands": ["vspacecode.space"]
        },
        {
            "before": [","],
            "commands": [
                "vspacecode.space",
                {
                    "command": "whichkey.triggerKey",
                    "args": "m"
                }
            ]
        },
        {
            "before": [">"],
            "commands": ["editor.action.indentLines"]
        },
        {
            "before": ["<"],
            "commands": ["editor.action.outdentLines"]
        }
    ],
    "vim.normalModeKeyBindings": [
        {
            // <leader>w saves file
            "before": ["<leader>", "w"],
            "commands": ["workbench.action.files.save"]
        }
        // Toggle and set bookmarks, dependency: Bookmarks extension
        // https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
        // {
        //     "before": ["<leader>", "m", "m"],
        //     "commands": ["bookmarks.toggle"]
        // },
        // {
        //     "before": ["<leader>", "m", "b"],
        //     "commands": ["bookmarks.list"]
        // }
    ],
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["]", "c"],
            "commands": ["editor.action.marker.nextInFiles"]
        },
        {
            "before": ["[", "c"],
            "commands": ["editor.action.marker.prevInFiles"]
        },
        {
            "before": ["<C-h>"],
            "commands": [":nohl"]
        },
        // {
        //     // import something
        //     "before": ["<leader>", "m", "i"],
        //     "commands": [":s/@extend\\s+\\.([\\w-_]+);/@include \\1();/"]
        // },
        // {
        //     // generate a style.scss.d.ts file from something? 🤷
        //     "before": ["<leader>", "m", "e"],
        //     "commands": [
        //         ":v/^[ \\t]*\\./d",
        //         ":%s/^\\s*//",
        //         ":%s/^\\./export const /",
        //         ":%s/ {$/: string;/",
        //         ":%sort u",
        //         ":g/^$/d"
        //     ]
        // },
        // {
        //     "before": ["<leader>", "m", "l"],
        //     "commands": [":s/^/export const /", ":s/$/: string;/"]
        // },
        // {
        //     "before": ["<leader>", "m", ","],
        //     "commands": [":s/^[ \\t]*//", ":s/, /:;\\r/g"]
        // },
        // {
        //     "before": ["<leader>", "m", "c"],
        //     "commands": [
        //         ":s#\\(\\%(\\<\\l\\+\\)\\%(_\\)\\@=\\)\\|_\\(\\l\\)#\\u\\1\\2#g"
        //     ]
        // },
        {
            "before": ["<leader>", "r", ")"],
            "after": ["y", "s", "i", "w", ")"]
        },
        {
            "before": ["<leader>", "r", "{"],
            "after": ["y", "s", "i", "w", "{"]
        },
        {
            "before": ["<leader>", "r", "}"],
            "after": ["y", "s", "i", "w", "}"]
        },
        {
            "before": ["<leader>", "r", "p"],
            "after": ["B", "d", "t", "(", "d", "s", "("]
        },
        // {
        //     "before": ["<leader>", "<leader>", ","],
        //     "after": ["A", ",", "<ESC>", "^"]
        // },
        // {
        //     "before": ["<leader>", "<leader>", "}"],
        //     "after": ["A", "}", "<ESC>", "^"]
        // },
        // {
        //     "before": ["<leader>", "<leader>", "{"],
        //     "after": ["A", "{", "<ESC>", "^"]
        // },
        {
            "before": ["<leader>", "c", "c"],
            "after": [
                "d",
                "f",
                ".",
                "y",
                "s",
                "i",
                "w",
                "}",
                "y",
                "s",
                "a",
                "}",
                ")",
                "f",
                "?",
                "c",
                "l",
                "=",
                ">"
            ]
        },
        {
            "before": ["<leader>", "a", "r"],
            "commands": ["editor.action.rename"]
        },
        // {
        //     "before": ["<leader>", "d", "s"],
        //     "commands": ["workbench.action.debug.start"]
        // },
        // {
        //     "before": ["<leader>", "d", "d"],
        //     "commands": ["workbench.action.debug.stop"]
        // },
        {
            "before": ["]", "h"],
            "commands": ["workbench.action.editor.nextChange"]
        },
        {
            "before": ["[", "h"],
            "commands": ["workbench.action.editor.previousChange"]
        },
        {
            "before": ["<leader>", "<leader>"],
            "commands": ["workbench.action.quickOpen"]
        },
        {
            "before": ["K"],
            "commands": ["editor.action.showHover"]
        },
        {
            "before": ["H"],
            "commands": ["workbench.action.previousEditor"]
        },
        {
            "before": ["L"],
            "commands": ["workbench.action.nextEditor"]
        },
        {
            "before": ["<leader>", "b", "d"],
            "commands": ["workbench.action.closeActiveEditor"]
        },
        {
            "before": ["g", "D"],
            "commands": ["editor.action.revealDefinitionAside"]
        },
        {
            "before": ["<leader>", "%"],
            "commands": [{ "command": "editor.emmet.action.matchTag" }]
        },
        {
            "before": ["<leader>", "u"],
            "commands": [{ "command": "editor.emmet.action.updateTag" }]
        },
        {
            "before": ["<leader>", "e"],
            "commands": [
                { "command": "workbench.action.toggleSidebarVisibility" }
            ]
        },
        {
            "before": ["<leader>", "f", "e"],
            "commands": [
                { "command": "workbench.files.action.showActiveFileInExplorer" }
            ]
        },
        {
            "before": ["<space>"],
            "commands": ["vspacecode.space"]
        },
        {
            "before": [","],
            "commands": [
                "vspacecode.space",
                {
                    "command": "whichkey.triggerKey",
                    "args": "m"
                }
            ]
        }
    ],
    // "vim.handleKeys": {
    // "<C-f>": false,
    // "<C-b>": false,
    // "<C-t>": false,
    // "<C-n>": false
    // },
    "search.exclude": {
        "**/.yarn": true,
        "**/package-lock.json": true,
        "**/yarn.lock": true,
        "node_modules/": true
    },
    "zig.zigPath": "/home/mrms/.config/Code/User/globalStorage/ziglang.vscode-zig/zig_install/zig",
    "zig.zigVersion": "0.11.0",
    "zig.zls.path": "/home/mrms/.config/Code/User/globalStorage/ziglang.vscode-zig/zls_install/zls",
    "terminal.external.linuxExec": "wezterm",
    "terminal.integrated.fontSize": 14,
    "terminal.integrated.defaultProfile.linux": "fish",
    "partialDiff.enableTelemetry": false,
    "intelephense.telemetry.enabled": false,
    "emmet.showAbbreviationSuggestions": false,
    "debug.console.fontSize": 14,
    "vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim",
    "vscode-neovim.neovimInitVimPaths.linux": "/home/mrms/.config/dotfiles/Configs/nvim/.config/nvim/init.lua",
    "amVim.smartRelativeLineNumbers": true,
    "amVim.useSystemClipboard": true,
    "editor.fontSize": 13,
    "console-ninja.fontSize": 14,
    "scm.inputFontSize": 14,
    "markdown.preview.fontSize": 14,
    "editor.lineHeight": 1.6,
    "codeium.enableConfig": {
        "*": true,
        "github-actions-workflow": true
    },
    "javascript.suggest.completeFunctionCalls": true,
    "typescript.suggest.completeFunctionCalls": true,
    "editor.suggest.insertMode": "replace",
    "console-ninja.featureSet": "Community",
    "editor.fontWeight": "600",
    "javascript.referencesCodeLens.enabled": true,
    "javascript.referencesCodeLens.showOnAllFunctions": true,
    "typescript.referencesCodeLens.showOnAllFunctions": true,
    "editor.minimap.enabled": false,
    "window.titleBarStyle": "custom",
    "arduino.useArduinoCli": true,
    "window.zoomLevel": 1,
    "githubPullRequests.pullBranch": "never"
}

System information

can you reproduce this with just magit? I.e. without vspacecode installed? If yes, it's not a vspacecode issue.

A small change to the keybindings fixed this for me. See: kahole/edamagit#274