LazyVim / LazyVim
- понедельник, 23 января 2023 г. в 00:37:25
Neovim config for the lazy
LazyVim is a Neovim setup powered by
You can find a starter template for LazyVim here
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git lazygit neovim ripgrep alpine-sdk --update
git clone https://github.com/LazyVim/starter ~/.config/nvim
cd ~/.config/nvim
nvim
'Make a backup of your current Neovim files:
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bakClone the starter
git clone https://github.com/LazyVim/starter ~/.config/nvimRemove the .git folder, so you can add it to your own repo later
rm -rf ~/.config/nvim/.gitStart Neovim!
nvimRefer to the comments in the files on how to customize LazyVim.
The files under config will be automatically loaded at the appropriate time, so you don't need to require those files manually. LazyVim comes with a set of default config files that will be loaded before your own. See here
You can add your custom plugin specs under lua/plugins/. All files there
will be automatically loaded by lazy.nvim
~/.config/nvim ├── lua │ ├── config │ │ ├── autocmds.lua │ │ ├── keymaps.lua │ │ ├── lazy.lua │ │ └── options.lua │ └── plugins │ ├── spec1.lua │ ├── ** │ └── spec2.lua └── init.toml
Refer to the docs