Vim
Vim copied to clipboard
Vim extension not working when opening VSCode
When opening vscode, the vim extensions isn't working. Few days ago It was working, then all of the sudden, I don't know if there was an update on vscode or vim, the extension stopped working. When opening VSCode devtools I saw the error that is in the screenshot bellow, and the error says "Activating extension 'vscodevim.vim' failed: Cannot create property 'recursive' on string 'j'.".
I tried the following:
- Uninstalling and installing Vim extension;
- Downgrading the version of the Vim extension;
- Uninstalling, deleting the ~/.vscode/extensions/vscodevim-1.25.2 folder, Installing the Vim extension again;
- Uninstalling VSCode and installing again;
Nothing of the above solved the problem.
Steps to reproduce the behavior:
- Open VSCode
Expected behavior It should load up vim extension automatically when opening vscode.
Screenshots
- Extension (VsCodeVim) version: 1.25.2
- VSCode version: 1.78
- OS: Windows 11 Pro
@pedroalves80 I had this same issue. From looking at the minified code, it is trying to read the following keys from settings.json
"insertModeKeyBindings",
"insertModeKeyBindingsNonRecursive",
"normalModeKeyBindings",
"normalModeKeyBindingsNonRecursive",
"operatorPendingModeKeyBindings",
"operatorPendingModeKeyBindingsNonRecursive",
"visualModeKeyBindings",
"visualModeKeyBindingsNonRecursive",
"commandLineModeKeyBindings",
"commandLineModeKeyBindingsNonRecursive",
Once I removed these from my settings.json it started running again. Hopefully, this fixes your issue like it did mine!