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

:w stuck in writing file #4004

Open
AngleWing opened this issue Aug 27, 2019 · 2 comments
Open

:w stuck in writing file #4004

AngleWing opened this issue Aug 27, 2019 · 2 comments

Comments

@AngleWing
Copy link

Describe the bug
In a pretty large workspace, after editing file for a while, use ":w" to save file will stuck for at least 5 seconds. Any command to vim will not be accepted. "hjkl" are not working but arrow keys are working. Can switch file tabs but cannot save them even with "ctrl+s"

To Reproduce
Steps to reproduce the behavior:

  1. Go to a file
  2. Enter insert mode to edit then exit
  3. Type ":w" to save file
  4. The vim is frozen for at least 5 seconds

Expected behavior
The file is saved immediately and vim is reponding to new commands.

Environment (please complete the following information):
Ubuntu 18.04

  • Extension (VsCodeVim) version: 1.9.0
  • VSCode version: 1.37.1
  • OS: Ubuntu 18.04

Additional context
Don't know if it relates to the large workspace. If the file is bigger, it takes longer.

@J-Fields
Copy link
Member

Does saving from the command palette result in a similar delay?

@stevenguh
Copy link
Contributor

stevenguh commented Aug 29, 2019

I think this could be similar to what we discussed in #3998
EDIT: On a second thought, I think this is probably different than the link above.

@J-Fields J-Fields changed the title :w stuck in writing file :w stuck in writing file Oct 15, 2021
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

3 participants