This tutorial assumes that you use vim plug as a package manager.
Add the following to vimrc (using plug PM):
Plug 'vyperlang/vim-vyper'
Source vimrc
:source $MYVIMRC
Install Plugin
:PlugInstall
Add the following to .vimrc:
augroup vyper_ft
au!
autocmd BufNewFile,BufRead *.vy set syntax=vyper
augroup END
Resources: