Haven't you heard? All the cool kids these days are configuring their Neovim in Lua. I recently ditched my ancient Vim script configuration and rewrote the entire thing in Lua. Was it worth it? Should you do the same? Or is it just a bunch of marketing hype? Find out if it's finally time to say goodbye to your init.vim and create an init.lua in this video...
My dotfiles: https://github.com/ericmurphyxyz/dotfiles
ThePrimeagen's init.lua: https://github.com/ThePrimeagen/init.lua
๐ My website: https://ericmurphy.xyz
๐ธ Support the Channel: https://ericmurphy.xyz/donate
๐ฅ Watch my videos on Odysee: https://odysee.com/@ericnmurphy
๐ป My GitHub: https://github.com/ericmurphyxyz
0:00 Intro
0:15 Why Lua?
4:17 Lua basics
6:19 Setting options in Lua
8:18 Setting a leader key (and global variables)
10:04 Setting keybindings in Lua
11:48 Sourcing different files with require
13:48 Loading Vim plugins in Lua
17:00 Was it worth it?
17:41 Additional resources
18:11 Conclusion
...
https://www.youtube.com/watch?v=7NSZsPjIzvg