Jose Puebla
Jose Puebla

Reputation: 526

unable to type in Visual Studio Code

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

Answers (9)

TOPKAT
TOPKAT

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

Prem KC
Prem KC

Reputation: 61

Disabling vim plugin in VS code helps.

Upvotes: 4

Abdulfattah
Abdulfattah

Reputation: 138

Just press "i" on your keyboard, it should work!

Upvotes: 9

Sinazo Bogicevic
Sinazo Bogicevic

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

Rex Osariemen
Rex Osariemen

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

Tanlent AN
Tanlent AN

Reputation: 702

press control+C, then press "i" to get in the "insert" status, you could edit your file now.

Upvotes: 55

Dickson Chibuzor
Dickson Chibuzor

Reputation: 241

Had the same problem. all I had to do was disable the vim extension install in my vscode

Upvotes: 1

Meekyzy
Meekyzy

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

Rob Lourens
Rob Lourens

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

Related Questions