Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor.cursorStyle not being respected #2809

Closed
pzelnip opened this issue Jul 5, 2018 · 1 comment
Closed

editor.cursorStyle not being respected #2809

pzelnip opened this issue Jul 5, 2018 · 1 comment

Comments

@pzelnip
Copy link

pzelnip commented Jul 5, 2018

BUG REPORT

What happened:

When I toggle VIM mode my editor.cursorStyle setting seems to be ignored, and "block" is used.

What did you expect to happen:

My "editor.cursorStyle":"line" setting to remain in effect.

How to reproduce it (as minimally and precisely as possible):

  • set "vim.disableExtension": true in your VSCode settings
  • set "editor.cursorStyle":"line" in your VS Code settings
  • open the command pallette and pick "Vim: Toggle Vim Mode"
  • the cursor changes from a line to a blinking block

Environment:

  • Extension Name: vim
  • Extension Version: 0.14.1
  • OS Version: Darwin x64 16.7.0
  • VSCode version: 1.25.0
@pzelnip
Copy link
Author

pzelnip commented Jul 5, 2018

Nevermind, figured out the cursorStylePerMode setting:

  "vim.disableExtension": false,
  "vim.cursorStylePerMode":{
    "normal": "line",
    "insert": "line",
    "replace": "line",
  },

And it now works as I'd expect (cursor doesn't change when I enable VIM mode).

@pzelnip pzelnip closed this as completed Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant