ThePrimeagen / vim-be-good

vim-be-good is a nvim plugin designed to make you better at Vim Movements.
3.16k stars 111 forks source link

lazy-nvim equivalent installation #140

Open danongba opened 4 months ago

danongba commented 4 months ago

-newbie -following a tutorial series that uses lazy-nvim -found out about this game -want to try -no lazy-nvim instruction found -maybe having both Vim-plug and lazy-nvim is the way to go -Internet says: "NO!" -shit my pants what do?? how to convert vim plug instruction to lazy-nvim instruction?

Beyonder616 commented 4 months ago

Put this in lazy_init.lua(if you followed the tutorials from Prime's youtube): { "thePrimeagen/vim-be-good", cmd = "VimBeGood", config = function() require("VimBeGood").setup {} end, },

Then create a vimbegood.lua file in your lazy folder where you have the plugin configs, where you will have to add this: return { "thePrimeagen/vim-be-good", cmd = "VimBeGood", config = function() require("VimBeGood").setup {} end, }

You might still get some errors like I did, but it will work afterwards, good luck!

rtim75 commented 4 months ago

CleanShot 2024-06-06 at 21 11 01@2x the plugin doesn't have a setup function (I hope I'm right on this one). You can just do

{
    'ThePrimeagen/vim-be-good'
}

works perfectly for me