Reputation: 526
people from StackOverflow. I have a very frustrating experience with VS Code. At the moment of starting a new file, a mode starts on the editor that makes me being unable to type anything. Here is a youtube link from me, trying to type something. Unable to type characters in VScode
Please, tell me, what should I do?
Upvotes: 42
Views: 100968
Reputation: 8688
My problem was caused by a plugin called vim emulation for Visual studio code
I uninstalled it and the problem was gone.
Otherwise you can press i
on your keyboard to return to edit mode.
Upvotes: 69
Reputation: 91
I had the same issue which was caused by the vim extension. Just go to extensions and type in vim, if it's installed clicked uninstall then reload/refresh vscode. This worked wonders for me.
Upvotes: 7
Reputation: 199
You can disable this by starting with the letter i
while your file is opened and with the cursor at any point on your file. Tapping i
on your keyboard should immediately take you back to insert mode.
Challenge with this: You have to do it for every file before you start typing.
This is probably the VIM extension. You can keep the extension, all you need to do is command + C
then i
. the i
is to get into insert mode.
To completely solve this problem, you may have to uninstall or disable VIM as an extension
Upvotes: 4
Reputation: 702
press control+C, then press "i" to get in the "insert" status, you could edit your file now.
Upvotes: 55
Reputation: 241
Had the same problem. all I had to do was disable the vim extension install in my vscode
Upvotes: 1
Reputation: 81
I had the same issue so I look up to Visual Studio Extensions and Disabled Vim extension then I can now edit my code anytime.
Upvotes: 7
Reputation: 16119
It looks like you have the Vim extension, or another extension, installed which is causing this. I see SURROUND INPUT MODE
in the status bar which is probably the cause. Look at your extensions and see whether you need to disable or uninstall one, or start Code with --disable-extensions
flag to disable them all.
Upvotes: 36