// Create nvim config folder
mkdir ~/.config/nvim/
// Copy config file to nvim location
cp init.vim ~/.config/nvim/
Open vscode setting and search vimrc.
Enable vimrc and set vimrc path ~/.config/nvim/init.vim
.
If the system's keyboard remap does not take effect in vscode, modify the following settings.If you remap keyboard:
vscode setting -> Keyboard: Dispatch -> keyCode