Compile vim and&#x2F;or gvim with Perl support, use Vim::X &lt; <a href="https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Vim::X" rel="nofollow">https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Vim::X</a> &gt;, and enjoy.