Search code examples
vimvisual-studio-code

How to modify/change the vimrc file in VsCode?


I am new to Vim and I have installed the Vim Extension in Vscode. I know that we can customize the default Vim Editor by modifying the vimrc file.

I want to change some keybindings in the VsCode Vim extension. How to do it/Where will I find the vimrc of Vscode Vim?


Solution

  • Make sure you have a /.vimrc or /_vimrc file in $HOME directory and follow the follow the following steps :

    1. Open VScode and go to settings.
    2. Type vimrc
    3. Enable Use Keymappings from a .vimrc file

    img1

    1. Modify the vimrc file according to your needs.