Do not use config.lua but import own config
mrolli opened this issue · comments
Michael Rolli commented
Is your feature request related to a current shortcoming? Please describe.
Using config.lue directly in LunarVim works as expected but comes with several downsides:
- Re-installing LunarVim from scratch overwrites the config (ok, backups are made)
- Chances are that config.lua comes with changes, which need to merged over manually
- One tends to build a monolithic config.lua and forget about splitting in logical chunks
Describe the solution you'd like
Do not edit/use config.lua directly but instead create a modular own config and only import the main:
--- Add this in config.lua as the only change
require('rollisch')
--- have this config structure:
rollisch/init.lua
rollisch/keybindings.lua
rollisch/trouble.lua
Still version the config.lua to be able to investigate the history of this file in my repository.
Michael Rolli commented
Use namespace user
instead of rollisch
, is shorter and sounds more like me