@@ -24,21 +24,22 @@ If you are experiencing issues, please make sure you have the latest versions.
24
24
External Requirements:
25
25
- Basic utils: ` git ` , ` make ` , ` unzip ` , C Compiler (` gcc ` )
26
26
- [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation )
27
- - Clipboard tool (xclip/xsel/win32yank or other depending on platform)
27
+ - Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
28
28
- A [ Nerd Font] ( https://www.nerdfonts.com/ ) : optional, provides various icons
29
29
- if you have it set ` vim.g.have_nerd_font ` in ` init.lua ` to true
30
+ - Emoji fonts (Ubuntu only, and only if you want emoji!) ` sudo apt install fonts-noto-color-emoji `
30
31
- Language Setup:
31
- - If want to write Typescript, you need ` npm `
32
- - If want to write Golang, you will need ` go `
32
+ - If you want to write Typescript, you need ` npm `
33
+ - If you want to write Golang, you will need ` go `
33
34
- etc.
34
35
35
- > ** NOTE**
36
+ > [ ! NOTE]
36
37
> See [ Install Recipes] ( #Install-Recipes ) for additional Windows and Linux specific notes
37
38
> and quick install snippets
38
39
39
40
### Install Kickstart
40
41
41
- > ** NOTE**
42
+ > [ ! NOTE]
42
43
> [ Backup] ( #FAQ ) your previous configuration (if any exists)
43
44
44
45
Neovim's configurations are located under the following paths, depending on your OS:
@@ -55,12 +56,17 @@ Neovim's configurations are located under the following paths, depending on your
55
56
so that you have your own copy that you can modify, then install by cloning the
56
57
fork to your machine using one of the commands below, depending on your OS.
57
58
58
- > ** NOTE**
59
- > Your fork's url will be something like this:
59
+ > [ ! NOTE]
60
+ > Your fork's URL will be something like this:
60
61
> ` https://github.com/<your_github_username>/kickstart.nvim.git `
61
62
63
+ You likely want to remove ` lazy-lock.json ` from your fork's ` .gitignore ` file
64
+ too - it's ignored in the kickstart repo to make maintenance easier, but it's
65
+ [ recommended to track it in version control] ( https://lazy.folke.io/usage/lockfile ) .
66
+
62
67
#### Clone kickstart.nvim
63
- > ** NOTE**
68
+
69
+ > [ !NOTE]
64
70
> If following the recommended step above (i.e., forking the repo), replace
65
71
> ` nvim-lua ` with ` <your_github_username> ` in the commands below
66
72
@@ -77,13 +83,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
77
83
If you're using ` cmd.exe ` :
78
84
79
85
```
80
- git clone https://github.com/nvim-lua/kickstart.nvim.git %localappdata%\nvim\
86
+ git clone https://github.com/nvim-lua/kickstart.nvim.git " %localappdata%\nvim"
81
87
```
82
88
83
89
If you're using ` powershell.exe `
84
90
85
91
```
86
- git clone https://github.com/nvim-lua/kickstart.nvim.git $ env:LOCALAPPDATA\nvim\
92
+ git clone https://github.com/nvim-lua/kickstart.nvim.git "${ env:LOCALAPPDATA} \nvim"
87
93
```
88
94
89
95
</details >
@@ -97,22 +103,27 @@ nvim
97
103
```
98
104
99
105
That's it! Lazy will install all the plugins you have. Use ` :Lazy ` to view
100
- current plugin status. Hit ` q ` to close the window.
106
+ the current plugin status. Hit ` q ` to close the window.
107
+
108
+ #### Read The Friendly Documentation
101
109
102
110
Read through the ` init.lua ` file in your configuration folder for more
103
111
information about extending and exploring Neovim. That also includes
104
112
examples of adding popularly requested plugins.
105
113
114
+ > [ !NOTE]
115
+ > For more information about a particular plugin check its repository's documentation.
116
+
106
117
107
118
### Getting Started
108
119
109
120
[ The Only Video You Need to Get Started with Neovim] ( https://youtu.be/m8C0Cq9Uv9o )
110
121
111
122
### FAQ
112
123
113
- * What should I do if I already have a pre-existing neovim configuration?
124
+ * What should I do if I already have a pre-existing Neovim configuration?
114
125
* You should back it up and then delete all associated files.
115
- * This includes your existing init.lua and the neovim files in ` ~/.local `
126
+ * This includes your existing init.lua and the Neovim files in ` ~/.local `
116
127
which can be deleted with ` rm -rf ~/.local/share/nvim/ `
117
128
* Can I keep my existing configuration in parallel to kickstart?
118
129
* Yes! You can use [ NVIM_APPNAME] ( https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME ) ` =nvim-NAME `
@@ -126,12 +137,12 @@ examples of adding popularly requested plugins.
126
137
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
127
138
distribution that you would like to try out.
128
139
* What if I want to "uninstall" this configuration:
129
- * See [lazy.nvim uninstall](https://github.com/ folke/lazy.nvim #-uninstalling) information
140
+ * See [lazy.nvim uninstall](https://lazy. folke.io/usage #-uninstalling) information
130
141
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
131
142
* The main purpose of kickstart is to serve as a teaching tool and a reference
132
143
configuration that someone can easily use to `git clone` as a basis for their own.
133
144
As you progress in learning Neovim and Lua, you might consider splitting `init.lua`
134
- into smaller parts. A fork of kickstart that does this while maintaining the
145
+ into smaller parts. A fork of kickstart that does this while maintaining the
135
146
same functionality is available here:
136
147
* [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
137
148
* Discussions on this topic can be found here:
@@ -170,7 +181,7 @@ run in cmd as **admin**:
170
181
winget install --accept-source-agreements chocolatey.chocolatey
171
182
```
172
183
173
- 2 . install all requirements using choco, exit previous cmd and
184
+ 2 . install all requirements using choco, exit the previous cmd and
174
185
open a new one so that choco path is set, and run in cmd as ** admin** :
175
186
```
176
187
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -203,14 +214,14 @@ sudo apt update
203
214
sudo apt install make gcc ripgrep unzip git xclip curl
204
215
205
216
# Now we install nvim
206
- curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64 .tar.gz
207
- sudo rm -rf /opt/nvim-linux64
208
- sudo mkdir -p /opt/nvim-linux64
209
- sudo chmod a+rX /opt/nvim-linux64
210
- sudo tar -C /opt -xzf nvim-linux64 .tar.gz
217
+ curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64 .tar.gz
218
+ sudo rm -rf /opt/nvim-linux-x86_64
219
+ sudo mkdir -p /opt/nvim-linux-x86_64
220
+ sudo chmod a+rX /opt/nvim-linux-x86_64
221
+ sudo tar -C /opt -xzf nvim-linux-x86_64 .tar.gz
211
222
212
223
# make it available in /usr/local/bin, distro installs to /usr/bin
213
- sudo ln -sf /opt/nvim-linux64 /bin/nvim /usr/local/bin/
224
+ sudo ln -sf /opt/nvim-linux-x86_64 /bin/nvim /usr/local/bin/
214
225
```
215
226
</details >
216
227
<details ><summary >Fedora Install Steps</summary >
0 commit comments