Skip to content

OneOfOne/LazyVim

Repository files navigation


LazyVim is a Neovim setup powered by💤 lazy.nvim to make it easy to customize and extend your config. Rather than having to choose between starting from scratch or using a pre-made distro, LazyVim offers the best of both worlds - the flexibility to tweak your config as needed, along with the convenience of a pre-configured setup.

image

image

✨ Features

  • 🔥 Transform your Neovim into a full-fledged IDE
  • 💤 Easily customize and extend your config withlazy.nvim
  • 🚀 Blazingly fast
  • 🧹 Sane default settings for options, autocmds, and keymaps
  • 📦 Comes with a wealth of plugins pre-configured and ready to use

⚡️ Requirements

  • Neovim >=0.9.0(needs to be built withLuaJIT)
  • Git >=2.19.0(for partial clones support)
  • aNerd Font(optional)
  • aCcompiler fornvim-treesitter.Seehere

🚀 Getting Started

You can find a starter template forLazyVimhere

Try it with Docker
docker run -w /root -it --rm alpine:edge sh -uelic'
apk add git lazygit neovim ripgrep alpine-sdk --update
git clone https://github /LazyVim/starter ~/.config/nvim
cd ~/.config/nvim
nvim
'
Install theLazyVim Starter
  • Make a backup of your current Neovim files:

    mv~/.config/nvim~/.config/nvim.bak
    mv~/.local/share/nvim~/.local/share/nvim.bak
  • Clone the starter

    git clone https://github /LazyVim/starter~/.config/nvim
  • Remove the.gitfolder, so you can add it to your own repo later

    rm -rf~/.config/nvim/.git
  • Start Neovim!

    nvim

    Refer to the comments in the files on how to customizeLazyVim.


There's a great video created by@elijahmanorwith a walkthrough to get started.

Watch the video

📂 File Structure

The files under config will be automatically loaded at the appropriate time, so you don't need to require those files manually. LazyVimcomes with a set of default config files that will be loaded beforeyour own. Seehere

You can add your custom plugin specs underlua/plugins/.All files there will be automatically loaded bylazy.nvim

~/.config/nvim
├── lua
│ ├── config
│ │ ├── autocmds.lua
│ │ ├── keymaps.lua
│ │ ├── lazy.lua
│ │ └── options.lua
│ └── plugins
│ ├── spec1.lua
│ ├── **
│ └── spec2.lua
└── init.lua

⚙️ Configuration

Refer to thedocs

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%