How to use Vim + Ubuntu for Sonic Pi?

Hi,

Is there a documented way to reliably use Sonic Pi in Ubuntu 22.04 LTS? I have tried a few answers from this forum but they haven’t worked well (there was no sound in one of the prebuilt binaries I downloaded). And, is there a way to use vim to write the scripts for Sonic Pi in the editor of our choice?

Thank you.