lazy.nvim
is used as the plugin manager.- The
lua
folder contains the code needed to configure and load the plugins on neovim.- Older versions of my
lua
folders will be labelled with av
to indicate version, e.g.lua-v1
.
- Older versions of my
.tmux.config
file should be copied to the path~/.tmux.config
on mac
init.lua
: script to initializelazy.nvim
and loads the required folders inlua
folder.- The
lua
folder will contain two folders,config
andplugins
.config
: contains thelazy.nvim
setup and vim-related configurations such as options and keymapsplugins
: contains the setup for each plugin
- Navigate to
config/plugins.lua
and add the plugin's repository name. - Then, navigate to
plugins
folder and create a new lua file, e.g.telescope.lua
for the plugintelescope
- Add the relevant setup scripts and configurations for the plugin.
- In the future, customization of the plugin configuration can be done in this file. For details on how to do this, you can refer to the plugin's github documentation.
- Open
plugins/init.lua
and add in the following line (change the name of the file according to the one you have just added in the previous step):
require("plugins.telescope")