Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Marks not showing in gutter

Open smdsbz opened this issue 5 years ago • 1 comments

Describe the bug

#5924 is a great feature, however it just didn't work in my case ...

To Reproduce

Open a file and try setting a mark.

vscode-vim-show-mark

Expected behavior

A bookmark-style marker shows in the gutter area.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.18.9
  • VSCode version: 1.53.2
  • OS: Win10

I do have line number & SCM diff decoration disabled, here's my settings.json:

my settings.json
{
    "window.titleBarStyle": "custom",
    "window.menuBarVisibility": "hidden",
    "window.restoreWindows": "none",

    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": false,
    "explorer.autoReveal": "focusNoScroll",

    "breadcrumbs.enabled": true,
    "breadcrumbs.symbolSortOrder": "name",
    "outline.showVariables": false,
    "outline.showProperties": false,

    "editor.fontFamily": "'Fira Code', 'consolas', monospace, 'Microsoft YaHei'",
    // "editor.fontFamily": "'Meslo LG S DZ for Powerline', 'consolas', monospace, 'Microsoft YaHei'",
    "editor.fontLigatures": false,
    "editor.fontSize": 11.5,
    "editor.detectIndentation": true,
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.formatOnPaste": true,
    "editor.cursorBlinking": "solid",
    "editor.cursorSmoothCaretAnimation": false,
    "editor.smoothScrolling": false,
    "editor.dragAndDrop": false,
    "editor.minimap.enabled": false,
    "editor.minimap.maxColumn": 80,
    "editor.minimap.renderCharacters": false,
    "editor.minimap.showSlider": "always",
    "editor.lineNumbers": "off",
    "editor.rulers": [ 80, 120 ],
    "editor.renderIndentGuides": false,
    "editor.wordWrap": "on",
    "editor.wrappingIndent": "deepIndent",
    "editor.glyphMargin": false,
    "editor.occurrencesHighlight": true,
    "editor.selectionHighlight": false,
    "editor.acceptSuggestionOnCommitCharacter": false,
    "editor.acceptSuggestionOnEnter": "off",
    "editor.snippetSuggestions": "none",
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.suggestSelection": "recentlyUsed",
    "editor.renderControlCharacters": true,
    "editor.overviewRulerBorder": true,
    "editor.renderLineHighlight": "gutter",
    "editor.renderWhitespace": "trailing",
    "editor.suggest.filterGraceful": true,
    "editor.suggest.insertMode": "insert",
    "editor.suggest.localityBonus": true,
    "editor.suggest.showSnippets": false,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.cursorSurroundingLines": 5,
    "editor.cursorSurroundingLinesStyle": "all",
    "editor.definitionLinkOpensInPeek": true,

    "files.hotExit": "off",
    "files.autoSave": "onFocusChange",

    "workbench.editor.showTabs": false,
    "workbench.editor.tabSizing": "shrink",
    "workbench.editor.tabCloseButton": "off",
    "workbench.editor.limit.enabled": true,
    "workbench.editor.limit.perEditorGroup": true,
    "workbench.editor.limit.value": 10,
    "workbench.sideBar.location": "right",
    "workbench.panel.opensMaximized": "preserve",

    "terminal.integrated.fontSize": 12,
    "terminal.integrated.fontWeightBold": "900",
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    "terminal.integrated.localEchoLatencyThreshold": 0,
    "terminal.integrated.localEchoExcludePrograms": [
        "vim",
        "vi",
        "nano",
        "tmux",
        "less",
        "man",
    ],
    "debug.internalConsoleOptions": "openOnSessionStart",
    "debug.showBreakpointsInOverviewRuler": true,

    "vim.disableExtension": false,
    "vim.enableNeovim": false,
    "vim.foldfix": true,
    "vim.leader": " ",
    "vim.hlsearch": true,
    "vim.searchHighlightColor": "#770",
    "vim.showcmd": false,
    "vim.startofline": false,
    "vim.report": 1,
    "vim.easymotion": true,
    "vim.easymotionMarkerBackgroundColor": "#000",
    "vim.easymotionMarkerForegroundColorOneChar": "#f00",
    "vim.easymotionDimBackground": true,
    "vim.visualstar": true,
    "vim.highlightedyank.enable": true,
    "vim.highlightedyank.duration": 300,
    "vim.showMarksInGutter": true,
    "vim.handleKeys": {
        "<C-w>": true,
        "<C-d>": true,
        "<C-[>": true,
    },
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": [ "<bs>" ],
            "commands": [ ":nohl", "workbench.action.closePanel" ]
        },
        {
            "before": [ "<leader>", "s", "c" ],
            "commands": [ ":nohl" ]
        },
        {
            "before": [ "<C-e>" ],
            "after": [ "3", "<C-e>" ]
        },
        {
            "before": [ "<C-y>" ],
            "after": [ "3", "<C-y>" ]
        },
        {
            "before": [ "<leader>", "<leader>", "<leader>" ],
            "commands": [ "workbench.action.showCommands" ]
        },
        {
            "before": [ "<leader>", "l" ],
            "after": [ "g", "t" ]
        },
        {
            "before": [ "<leader>", "h" ],
            "after": [ "g", "T" ]
        },
        {
            "before": [ "<leader>", "f", "s" ],
            "commands": [ "workbench.action.files.save" ]
        },
        {
            "before": [ "<leader>", "f", "f" ],
            "commands": [ "workbench.action.quickOpen" ]
        },
        {
            "before": [ "<leader>", "f", "t" ],
            "commands": [ "workbench.action.toggleSidebarVisibility" ]
        },
        {
            "before": [ "<leader>", "b", "b" ],
            "commands": [ "workbench.action.showEditorsInActiveGroup" ]
        },
        {
            "before": [ "<leader>", "b", "d" ],
            "commands": [ "workbench.action.closeActiveEditor" ]
        },
        {
            "before": [ "<leader>", "w", "d" ],
            "commands": [ "workbench.action.closeEditorsInGroup" ]
        },
        {
            "before": [  "<leader>", "w", "V" ],
            "commands": [ "workbench.action.splitEditorRight" ]
        },
        {
            "before": [  "<leader>", "w", "S" ],
            "commands": [ "workbench.action.splitEditorDown" ]
        },
        {
            "before": [ "<leader>", "w", "h" ],
            "commands": [ "workbench.action.focusLeftGroup" ]
        },
        {
            "before": [ "<leader>", "w", "j" ],
            "commands": [ "workbench.action.focusBelowGroup" ]
        },
        {
            "before": [ "<leader>", "w", "k" ],
            "commands": [ "workbench.action.focusAboveGroup" ]
        },
        {
            "before": [ "<leader>", "w", "l" ],
            "commands": [ "workbench.action.focusRightGroup" ]
        }
    ],
    "vim.visualModeKeyBindingsNonRecursive": [
        {
            "before": [ ">" ],
            "commands": [ "editor.action.indentLines" ]
        },
        {
            "before": [ "<" ],
            "commands": [ "editor.action.outdentLines" ]
        },
        {
            "before": [ "<C-n>" ],
            "commands": [ "editor.action.addSelectionToNextFindMatch" ]
        },
        {
            "before": [ "<C-x>" ],
            "commands": [ "editor.action.moveSelectionToNextFindMatch" ]
        }
    ],

    "markdown.preview.fontFamily": "'Times New Roman', SimSun, sans-serif",
    "markdown.preview.fontSize": 14,
    "markdown.preview.lineHeight": 1.25,
    "markdown.preview.scrollEditorWithPreview": false,
    "markdown.preview.scrollPreviewWithEditor": false,
    "markdown.preview.markEditorSelection": false,

    "markdown-preview-enhanced.liveUpdate": false,
    "markdown-preview-enhanced.breakOnSingleNewLine": false,
    "markdown-preview-enhanced.frontMatterRenderingOption": "code block",
    "markdown-preview-enhanced.mathInlineDelimiters": [
        [
            "$$",
            "$$"
        ],
        [
            "\\(",
            "\\)"
        ]
    ],
    "markdown-preview-enhanced.mathBlockDelimiters": [
        [
            "$$",
            "$$"
        ],
        [
            "\\[",
            "\\]"
        ]
    ],
    "markdown-preview-enhanced.previewTheme": "atom-dark.css",
    "markdown-preview-enhanced.scrollSync": false,

    "todohighlight.isEnable": true,
    "todohighlight.keywords": [
        {
            "text": "TODO:",
            "color": "#fafbfc",
            "backgroundColor": "#fb8532",
            "overviewRulerColor": "#fb8532"
        },
        {
            "text": "CMBK:",
            "color": "#fafbfc",
            "backgroundColor": "#fb8532",
            "overviewRulerColor": "#fb8532"
        },
        {
            "text": "DEBUG:",
            "color": "#fafbfc",
            "backgroundColor": "#ea4a5a",
            "overviewRulerColor": "#ea4a5a"
        },
        {
            "text": "NOTE:",
            "color": "#c8e1ff",
            "backgroundColor": "#0000",
            "overviewRulerColor": "#0000"
        },
        {
            "text": "HACK:",
            "color": "#f9b3dd",
            "backgroundColor": "#0000",
            "overviewRulerColor": "#0000"
        },
        {
            "text": "PERF:",
            "color": "#fafbfc",
            "backgroundColor": "#28a745",
            "overviewRulerColor": "#28a745"
        },
    ],

    "git.autofetch": true,
    "git.confirmSync": false,
    "scm.diffDecorations": "none",
    "diffEditor.ignoreTrimWhitespace": true,

    "files.exclude": {
        "**/__pycache__": true,
        "**/.classpath": true,
        "**/.factorypath": true,
        "**/.project": true,
        "**/.settings": true
    },

    "python.showStartPage": false,
    "python.languageServer": "Pylance",
    "python.analysis.diagnosticMode": "workspace",
    "python.analysis.typeCheckingMode": "strict",
    "python.analysis.diagnosticSeverityOverrides": {
        "reportUnknownParameterType": "none",
        "reportUnknownVariableType": "none",
        "reportUnknownArgumentType": "none",
        "reportUnknownMemberType": "none",
        "reportUnknownLambdaType": "none",
        "reportMissingTypeStubs": "warning",
        "reportUnusedFunction": "none",
        "reportUnusedVariable": "information",
        "reportUnusedImport": "information",
        "reportPrivateUsage": "none",
        "reportOptionalMemberAccess": "information",
        "reportOptionalOperand": "information",
        "reportOptionalCall": "information",
        "reportOptionalContextManager": "information",
        "reportOptionalIterable": "information",
        "reportOptionalSubscript": "information",
        "reportCallInDefaultInitializer": "information",
        "reportIncompatibleMethodOverride": "warning",
    },

    "latex-workshop.view.pdf.viewer": "tab",
    "latex-workshop.latex.tools": [
        {
            "name": "latexmk",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-pdf",
                "-outdir=%OUTDIR%",
                "%DOC%"
            ],
            "env": {}
        },
        {
            "name": "lualatexmk",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-lualatex",
                "-outdir=%OUTDIR%",
                "%DOC%"
            ],
            "env": {}
        },
        {
            "name": "latexmk_rconly",
            "command": "latexmk",
            "args": [
                "%DOC%"
            ],
            "env": {}
        },
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-pdf",
                "%DOCFILE%"
            ]
        },
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ],
            "env": {}
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ],
            "env": {}
        },
        {
            "name": "rnw2pdf",
            "command": "Rscript",
            "args": [
                "-e",
                "knitr::knit2pdf('%DOCFILE%')"
            ],
            "env": {}
        }
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "pdf->pdf",
            "tools": [
                "pdflatex",
                "pdflatex"
            ]
        },
        {
            "name": "xelatex",
            "tools": [
                "xelatex"
            ]
        },
        {
            "name": "pdflatex",
            "tools": [
                "pdflatex"
            ]
        },
        {
            "name": "xe->bib->xe->xe",
            "tools": [
                "xelatex",
                "bibtex",
                "xelatex",
                "xelatex"
            ]
        },
        {
            "name": "pdf->bib->pdf->pdf",
            "tools": [
                "pdflatex",
                "bibtex",
                "pdflatex",
                "pdflatex"
            ]
        }
        // {
        //     "name": "latexmk",
        //     "tools": [
        //         "latexmk"
        //     ]
        // },
        // {
        //     "name": "latexmk (latexmkrc)",
        //     "tools": [
        //         "latexmk_rconly"
        //     ]
        // },
        // {
        //     "name": "latexmk (lualatex)",
        //     "tools": [
        //         "lualatexmk"
        //     ]
        // },
        // {
        //     "name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
        //     "tools": [
        //         "pdflatex",
        //         "bibtex",
        //         "pdflatex",
        //         "pdflatex"
        //     ]
        // }
        // {
        //     "name": "Compile Rnw files",
        //     "tools": [
        //         "rnw2pdf"
        //     ]
        // }
    ],
    "latex-workshop.chktex.enabled": false,

    "yaclock.prefix": "",
    "yaclock.showDate": true,
    "yaclock.showDay": true,

    "extensions.ignoreRecommendations": true,

    "vsicons.dontShowNewVersionMessage": true,
    "workbench.iconTheme": "vscode-icons",

    "window.zoomLevel": 0,
    "git.ignoreLegacyWarning": true,
    "remote.SSH.remotePlatform": {
        "VBox_CentOS": "linux"
    },
    "python.defaultInterpreterPath": "C:\\ProgramData\\Anaconda3\\python.exe",
    "leetcode.hint.commandShortcut": false,
    "workbench.activityBar.visible": false,
    "workbench.colorTheme": "Visual Studio Dark",
}

smdsbz avatar Mar 05 '21 08:03 smdsbz

Right... you have to turn on editor.glyphMargin, weird thing it's not showing in my settings.

smdsbz avatar Apr 02 '21 01:04 smdsbz