visual-studio-code

vscode + vim plugin: CTRL+P no longer works


I've used vscode with the vim plugin for years. All of a sudden I can no longer open files using CTRL+P. Looks like the plug-in intercepts this combination and moves the cursor up instead.


Solution

  • It looks like this issue was introduced in v1.26.0 a few days ago. If you don't use Ctrl+P to navigate in the filepicker, you can disable or change the vim shortcut back to the default VSCode behavior, as noted in the issue:

    // keybindings.json
    {
        "key": "ctrl+p",
        "command": "workbench.action.quickOpen"
    }