mkdir -p ~/.config
cd ~/.config
git clone https://github.com/SYGalvinChan/nvim.git
nvim.
├── Readme.md
├── init.lua
├── lazy-lock.json
└── lua
├── key-maps.lua
├── plugin-manager.lua
├── plugins
│ ├── ...
│ └── ...
└── vim-opts.lua
- At the project root directory, the
init.luais the main entrypoint that nvim will execute upon opening. - The lua folder contains the rest of the lua code that
init.luarequires. - Within the lua folder:
key-maps.luacontains key mappingsvim-opts.luacontains vim optionsplugin-manager.luacontains the boilerplate code for lazy.nvim plugin managerpluginsfolder contains a collection of files, all of which returns a Plugin Spec