mirror of https://github.com/LazyVim/starter
changed README.md
parent
9483d8485b
commit
f35af318af
73
README.md
73
README.md
|
@ -7,7 +7,7 @@ Refer to the [documentation](https://lazyvim.github.io/installation) to get star
|
||||||
|
|
||||||
- Neovim >= **0.9.0** (needs to be built with **LuaJIT**)
|
- Neovim >= **0.9.0** (needs to be built with **LuaJIT**)
|
||||||
- Git >= **2.19.0** (for partial clones support)
|
- Git >= **2.19.0** (for partial clones support)
|
||||||
- a [Nerd Font](https://www.nerdfonts.com/)(v3.0 or greater) **_(optional, but needed to display some icons)_**
|
- a [Nerd Font](https://www.nerdfonts.com/) (v3.0 or greater) **_(optional, but needed to display some icons)_**
|
||||||
- [lazygit](https://github.com/jesseduffield/lazygit) **_(optional)_**
|
- [lazygit](https://github.com/jesseduffield/lazygit) **_(optional)_**
|
||||||
- a **C** compiler for `nvim-treesitter`. See [here](https://github.com/nvim-treesitter/nvim-treesitter#requirements)
|
- a **C** compiler for `nvim-treesitter`. See [here](https://github.com/nvim-treesitter/nvim-treesitter#requirements)
|
||||||
- for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) **_(optional)_**
|
- for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) **_(optional)_**
|
||||||
|
@ -23,34 +23,71 @@ Refer to the [documentation](https://lazyvim.github.io/installation) to get star
|
||||||
|
|
||||||
<details><summary>Linux/MacOS</summary>
|
<details><summary>Linux/MacOS</summary>
|
||||||
|
|
||||||
|
Install the [LazyVim](https://github.com/13maximegorov/LazyVim)
|
||||||
|
|
||||||
- Make a backup of your current Neovim files:
|
- Make a backup of your current Neovim files:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# required
|
# required
|
||||||
mv ~/.config/nvim{,.bak}
|
mv ~/.config/nvim{,.bak}
|
||||||
|
|
||||||
# optional but recommended
|
# optional but recommended
|
||||||
mv ~/.local/share/nvim{,.bak}
|
mv ~/.local/share/nvim{,.bak}
|
||||||
mv ~/.local/state/nvim{,.bak}
|
mv ~/.local/state/nvim{,.bak}
|
||||||
mv ~/.cache/nvim{,.bak}
|
mv ~/.cache/nvim{,.bak}
|
||||||
```
|
```
|
||||||
|
|
||||||
- Clone the LazyVim
|
- Clone the LazyVim
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/13maximegorov/LazyVim ~/.config/nvim
|
git clone https://github.com/13maximegorov/LazyVim ~/.config/nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
- Remove the `.git` folder, so you can add it to your own repo later
|
- Remove the `.git` folder, so you can add it to your own repo later
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
rm -rf ~/.config/nvim/.git
|
rm -rf ~/.config/nvim/.git
|
||||||
```
|
```
|
||||||
|
|
||||||
- Start Neovim!
|
- Start Neovim!
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nvim
|
nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Windows</summary>
|
||||||
|
|
||||||
|
Install the [LazyVim](https://github.com/13maximegorov/LazyVim)
|
||||||
|
with [PowerShell](https://github.com/PowerShell/PowerShell)
|
||||||
|
|
||||||
|
- Make a backup of your current Neovim files:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
# required
|
||||||
|
Move-Item $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim.bak
|
||||||
|
|
||||||
|
# optional but recommended
|
||||||
|
Move-Item $env:LOCALAPPDATA\nvim-data $env:LOCALAPPDATA\nvim-data.bak
|
||||||
|
```
|
||||||
|
|
||||||
|
- Clone the LazyVim
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
git clone https://github.com/13maximegorov/LazyVim $env:LOCALAPPDATA\nvim
|
||||||
|
```
|
||||||
|
|
||||||
|
- Remove the `.git` folder, so you can add it to your own repo later
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
Remove-Item $env:LOCALAPPDATA\nvim\.git -Recurse -Force
|
||||||
|
```
|
||||||
|
|
||||||
|
- Start Neovim!
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
nvim
|
||||||
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in New Issue