Skip to content

Commit fce3e71

Browse files
authored
Merge pull request nvim-lua#422 from saccarosium/master
Iterate over nvim-lua#420
2 parents bbc72d6 + 82af68e commit fce3e71

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Distribution Alternatives:
2020

2121
### Installation
2222

23-
> **NOTE**
23+
> **NOTE**
2424
> [Backup](#FAQ) your previous configuration (if any exists)
2525
2626
Requirements:
@@ -32,24 +32,17 @@ Neovim's configurations are located under the following paths, depending on your
3232

3333
| OS | PATH |
3434
| :- | :--- |
35-
| Linux | `~/.config/nvim` |
36-
| MacOS | `~/.config/nvim` |
35+
| Linux | `$XDG_CONFIG_HOME/nvim`, `~/.config/nvim` |
36+
| MacOS | `$XDG_CONFIG_HOME/nvim`, '~/.config/nvim` |
3737
| Windows | `%userprofile%\AppData\Local\nvim\` |
3838

39-
#### Archive Installation
40-
41-
* On the home/landing page for the project find the green "`<> CODE`" button click it and select `Local > Download ZIP`.
42-
* Extract the archive to the appropriate configuration path.
43-
* Ensure your extraction method did not extract with a parent folder. For example in `~/.config/nvim` you should have `init.lua` not another folder called `kickstart.nvim`.
44-
45-
#### Git Clone Installation
46-
47-
From a terminal `cd`/`dir` to the configuration path and then run:
39+
Clone kickstart.nvim:
4840

4941
```sh
50-
git clone https://github.com/nvim-lua/kickstart.nvim.git ~/.config/nvim
51-
# OR
52-
gh repo clone nvim-lua/kickstart.nvim
42+
# on Linux and Mac
43+
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
44+
# on Windows
45+
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
5346
```
5447

5548
### Post Installation
@@ -60,7 +53,7 @@ Run the following command and then **you are ready to go**!
6053
nvim --headless "+Lazy! sync" +qa
6154
```
6255

63-
### Recommended Optional
56+
### Recommended Steps
6457

6558
[Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repo (so that you have your own copy that you can modify) and then installing you can install to your machine using the methods above.
6659

0 commit comments

Comments
 (0)