Search code examples
visual-studio-codevim

why is my vs code cursor not modifying the text and have a terminal effect


my vs code cursor is BROKEN.

vs code cursor is a block and I can't modify any documents. I typed some code but no change is made to the document.

Here is an image for refrence:

Image


Solution

  • I found out that I was using vim. DO NOT USE VIM IF YOU DON'T KNOW WHAT YOU ARE DOING. vim is great because it allows you to work faster, but for someone how doesn't know the shortcuts, this is extremely terrifying and should not be touched. Another thing I have learnt is that installing random extensions when you start your coding journey and give your future self a headache is a bad idea. But if you insist on using Vim, then please visit their official documentation. If you don't want to read boring text and instead want to play with Vim, then check out Vim adventures

    Here is how you disable vim in VS Code:

    • Oh no! Vim!

    Oh no! Vim!

    • Quick! Disable!

    Quick! Disable!

    • Reload!

    Reload!

    • Much better!

    Much better!

    And here is how you disable it in IntelliJ products(appCode in the images):

    • Oh no! Vim!

    Oh no! Vim!

    • ⌘, > Plugins

    ⌘,

    • > Installed

    Installed

    • Click the check-box of the extension you want to disable(Vim)

    Click

    • Restart

    enter image description here

    • Much better!

    enter image description here