2023-01-07 11:00:23 +01:00
|
|
|
# LazyVim
|
|
|
|
|
2023-01-07 11:29:44 +01:00
|
|
|
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim)
|
2023-01-07 11:00:23 +01:00
|
|
|
|
2023-01-07 11:29:44 +01:00
|
|
|
## 🚀 Getting Started
|
2023-01-07 11:00:23 +01:00
|
|
|
|
2023-01-07 11:29:44 +01:00
|
|
|
This repo contains an example setup for
|
|
|
|
[LazyVim](https://github.com/LazyVim/LazyVim)
|
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
### 1. Make a backup of your current Neovim files:
|
2023-01-09 15:34:40 +01:00
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
```sh
|
|
|
|
mv ~/.config/nvim ~/.config/nvim.bak
|
|
|
|
mv ~/.local/share/nvim ~/.local/share/nvim.bak
|
|
|
|
```
|
2023-01-09 15:34:40 +01:00
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
### 2. Clone the starter
|
2023-01-09 15:34:40 +01:00
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
```sh
|
2023-01-09 15:36:52 +01:00
|
|
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
2023-01-09 15:35:53 +01:00
|
|
|
```
|
2023-01-09 15:34:40 +01:00
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
### 3. Start Neovim!
|
2023-01-09 15:34:40 +01:00
|
|
|
|
2023-01-09 15:35:53 +01:00
|
|
|
```sh
|
|
|
|
nvim
|
|
|
|
```
|
2023-01-07 11:29:44 +01:00
|
|
|
|
|
|
|
Refer to the comments in the files on how to customize **LazyVim**.
|
2023-01-07 11:00:23 +01:00
|
|
|
|
2023-01-09 15:36:30 +01:00
|
|
|
## 📂 File Structure
|
2023-01-07 11:00:23 +01:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
~/.config/nvim
|
|
|
|
├── lua
|
2023-01-07 11:29:44 +01:00
|
|
|
│ ├── config
|
|
|
|
│ │ ├── autocmds.lua
|
|
|
|
│ │ ├── keymaps.lua
|
|
|
|
│ │ ├── lazy.lua
|
|
|
|
│ │ └── options.lua
|
|
|
|
│ └── plugins
|
2023-01-09 12:04:17 +01:00
|
|
|
│ └── example.lua
|
2023-01-07 11:00:23 +01:00
|
|
|
├── init.lua
|
|
|
|
└── stylua.toml
|
|
|
|
</pre>
|