(Translated by https://www.hiragana.jp/)
GitHub - greensponge/nvim: Easy to understand pure Lua Neovim config with modular structure.
Skip to content

Easy to understand pure Lua Neovim config with modular structure.

License

Notifications You must be signed in to change notification settings

greensponge/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kickstart.nvim

This configuration is started from the kickstart template located here: https://github.com/nvim-lua/kickstart.nvim

How to use

Clone down this repository to ~/.config/nvim, pay attention that this is the final path, and not ~/.config/nvim/nvim or something else. It should then load all the required plugins and settings the next time you launch neovim.

For now I use the same bindings for at least telescope as TJ from kickstart. You can check out his video tutorial if you need help learning the shortcuts and how to teach yourself what is available.

Structure

The main init.lua file only requires from the needed modules.

Under lua/core you will find this structure:

plugins/
lazy.lua
mappings.lua

The plugins/ directory contains all plugins, each separated by a file. To add a plugin simply create a new file in this folder, returning the required plugin information.

The lazy.lua file contains the package manager, which will load each file under plugins/.

The mappings.lua contains "global" mappings, or rather mappings I don't know where to otherwise put, as they do not belong to a plugin.

Releases

No releases published

Packages

No packages published

Languages