Hello folks,
Is there any practical key bindings or commands that would reload init.lua file ?
We used to use :source ~/.config/nvim/init.vim or :so % or absolute path if elsewhere but how does that work now with init.lua ?
Much appreciated if anyone knows.
Thank you
If you do not require
any sub-configs from the init then :so ~/.config/nvim/init.lua
can work but if you require
any sub-configs then read the topic Reload init.lua
and all require
d scripts or if it is too complicated then I would recommend not using one action to reload the whole config but instead only reloading the particular config file that needs reloading.
1 Like