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

Cmd+s enters insert mode #975

Closed
octref opened this issue Oct 24, 2016 · 3 comments
Closed

Cmd+s enters insert mode #975

octref opened this issue Oct 24, 2016 · 3 comments

Comments

@octref
Copy link
Contributor

octref commented Oct 24, 2016

Technical details:

  • VSCode Version: 1.7 Insider
  • VsCodeVim Version: 0.3.8
  • OS: OS X 10.11.6
@octref octref changed the title Cmd+S enters insert mode Cmd+s enters insert mode Oct 24, 2016
@rebornix
Copy link
Member

Let me explain a little bit why this happens. cmd+s is not changing the mode to Insert while it changes the cursor style from block to line. The reason it happens is cmd+s triggers document save, which triggers another view update of VS Code. When the view updates, it will read configuration from settings.json as latest Code will persist all changes to Code's configuration through API and it always reads config from the file. Since we are not merging #913 yet, we don't save the change to cursor style to settings.json, so Code thinks the cursor style is line instead of block.

This problem can be solved once #913 is merged.

@octref
Copy link
Contributor Author

octref commented Nov 17, 2016

@rebornix This doesn't happen anymore. #913 is merged. So I guess this can be closed?

@rebornix
Copy link
Member

@octref yes, it's covered by that PR, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants