VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
14.02k stars 1.32k forks source link

can't select text #4572

Closed xiaoouwang closed 4 years ago

xiaoouwang commented 4 years ago

Describe the bug

Each time I select some text the selection just shrinks to the end position, it's really annoying.

To Reproduce

keyboard

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

J-Fields commented 4 years ago

Could you please confirm that this behavior still exists after disabling all other extensions?

xiaoouwang commented 4 years ago

Could you please confirm that this behavior still exists after disabling all other extensions?

@J-Fields yes. Check the gif below. keyboard2

J-Fields commented 4 years ago

Cool, I appreciate that! The selection is getting removed right when you release LMB and you're not pressing anything else? If you don't mind, could you show me your settings?

xiaoouwang commented 4 years ago
 "vim.mouseSelectionGoesIntoVisualMode": false,
  "vim.gdefault": true,
  "vim.leader": "<space>",
  "vim.useSystemClipboard": true,
  "vim.hlsearch": true,
  "vim.statusBarColorControl": true,
  "vim.startInInsertMode": false,
  "vim.searchHighlightColor": "rgba(255,153,153,0.3)",
  "workbench.colorCustomizations": {
    "statusBar.background": "#005f5f",
    "statusBar.noFolderBackground": "#005f5f",
    "statusBar.debuggingBackground": "#005f5f"
  },
  "vim.sneak": false,
  "vim.incsearch": true,
  "vim.useCtrlKeys": true,
  // "vim.cursorStylePerMode.normal": "line",
  "vim.easymotion": true,
  "vim.foldfix": true,
  "vim.cursorStylePerMode.insert": "line-thin",
  "vim.cursorStylePerMode.visual": "block",
  "vim.debug.silent": false,
  "vim.sneakUseIgnorecaseAndSmartcase": true,

I've played aroung all the possible combinations still it doesn't resolve the bug. :D

xiaoouwang commented 4 years ago

well the bug has mysteriously disappeared. The only thing that I did was upgrading to Catalina 10.15.3

Hope it helps anyone having this same bug-like issue.

jasonperhaps commented 4 years ago

This is caused by eudic which will automatically capture the selected txt and will cause the problem as shown above. After shutdown eudic, text selection works normally.