@@ -23,47 +23,58 @@ If you are experiencing issues, please make sure you have the latest versions.
2323
2424External Requirements:
2525- Basic utils: ` git ` , ` make ` , ` unzip ` , C Compiler (` gcc ` )
26- - [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation )
27- - Clipboard tool (xclip/xsel/win32yank or other depending on platform)
26+ - [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation ) ,
27+ [ fd-find] ( https://github.com/sharkdp/fd#installation )
28+ - Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
2829- A [ Nerd Font] ( https://www.nerdfonts.com/ ) : optional, provides various icons
2930 - if you have it set ` vim.g.have_nerd_font ` in ` init.lua ` to true
31+ - Emoji fonts (Ubuntu only, and only if you want emoji!) ` sudo apt install fonts-noto-color-emoji `
3032- Language Setup:
31- - If want to write Typescript, you need ` npm `
32- - If want to write Golang, you will need ` go `
33+ - If you want to write Typescript, you need ` npm `
34+ - If you want to write Golang, you will need ` go `
3335 - etc.
3436
35- > ** NOTE**
37+ > [ ! NOTE]
3638> See [ Install Recipes] ( #Install-Recipes ) for additional Windows and Linux specific notes
3739> and quick install snippets
3840
3941### Install Kickstart
4042
41- > ** NOTE**
43+ > [ ! NOTE]
4244> [ Backup] ( #FAQ ) your previous configuration (if any exists)
4345
4446Neovim's configurations are located under the following paths, depending on your OS:
4547
4648| OS | PATH |
4749| :- | :--- |
4850| Linux, MacOS | ` $XDG_CONFIG_HOME/nvim ` , ` ~/.config/nvim ` |
49- | Windows (cmd)| ` %userprofile%\AppData\Local \nvim\ ` |
50- | Windows (powershell)| ` $env:USERPROFILE\AppData\Local \nvim\ ` |
51+ | Windows (cmd)| ` %localappdata% \nvim\ ` |
52+ | Windows (powershell)| ` $env:LOCALAPPDATA \nvim\ ` |
5153
5254#### Recommended Step
5355
5456[ Fork] ( https://docs.github.com/en/get-started/quickstart/fork-a-repo ) this repo
5557so that you have your own copy that you can modify, then install by cloning the
5658fork to your machine using one of the commands below, depending on your OS.
5759
58- > ** NOTE**
59- > Your fork's url will be something like this:
60+ > [ ! NOTE]
61+ > Your fork's URL will be something like this:
6062> ` https://github.com/<your_github_username>/kickstart.nvim.git `
6163
64+ You likely want to remove ` lazy-lock.json ` from your fork's ` .gitignore ` file
65+ too - it's ignored in the kickstart repo to make maintenance easier, but it's
66+ [ recommended to track it in version control] ( https://lazy.folke.io/usage/lockfile ) .
67+
6268#### Clone kickstart.nvim
69+
70+ > [ !NOTE]
71+ > If following the recommended step above (i.e., forking the repo), replace
72+ > ` nvim-lua ` with ` <your_github_username> ` in the commands below
73+
6374<details ><summary > Linux and Mac </summary >
6475
6576``` sh
66- git clone https://github.com/TheSoeren /kickstart.nvim.git " ${XDG_CONFIG_HOME:- $HOME / .config} " /nvim
77+ git clone https://github.com/nvim-lua /kickstart.nvim.git " ${XDG_CONFIG_HOME:- $HOME / .config} " /nvim
6778```
6879
6980</details >
@@ -73,13 +84,13 @@ git clone https://github.com/TheSoeren/kickstart.nvim.git "${XDG_CONFIG_HOME:-$H
7384If you're using ` cmd.exe ` :
7485
7586```
76- git clone https://github.com/TheSoeren /kickstart.nvim.git %userprofile%\AppData\Local\ nvim\
87+ git clone https://github.com/nvim-lua /kickstart.nvim.git "%localappdata%\ nvim"
7788```
7889
7990If you're using ` powershell.exe `
8091
8192```
82- git clone https://github.com/TheSoeren /kickstart.nvim.git $ env:USERPROFILE\AppData\Local\ nvim\
93+ git clone https://github.com/nvim-lua /kickstart.nvim.git "${ env:LOCALAPPDATA}\ nvim"
8394```
8495
8596</details >
@@ -93,22 +104,27 @@ nvim
93104```
94105
95106That's it! Lazy will install all the plugins you have. Use ` :Lazy ` to view
96- current plugin status. Hit ` q ` to close the window.
107+ the current plugin status. Hit ` q ` to close the window.
108+
109+ #### Read The Friendly Documentation
97110
98111Read through the ` init.lua ` file in your configuration folder for more
99112information about extending and exploring Neovim. That also includes
100113examples of adding popularly requested plugins.
101114
115+ > [ !NOTE]
116+ > For more information about a particular plugin check its repository's documentation.
117+
102118
103119### Getting Started
104120
105121[ The Only Video You Need to Get Started with Neovim] ( https://youtu.be/m8C0Cq9Uv9o )
106122
107123### FAQ
108124
109- * What should I do if I already have a pre-existing neovim configuration?
125+ * What should I do if I already have a pre-existing Neovim configuration?
110126 * You should back it up and then delete all associated files.
111- * This includes your existing init.lua and the neovim files in ` ~/.local `
127+ * This includes your existing init.lua and the Neovim files in ` ~/.local `
112128 which can be deleted with ` rm -rf ~/.local/share/nvim/ `
113129* Can I keep my existing configuration in parallel to kickstart?
114130 * Yes! You can use [ NVIM_APPNAME] ( https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME ) ` =nvim-NAME `
@@ -122,17 +138,17 @@ examples of adding popularly requested plugins.
122138 `~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
123139 distribution that you would like to try out.
124140* What if I want to "uninstall" this configuration:
125- * See [lazy.nvim uninstall](https://github.com/ folke/lazy.nvim #-uninstalling) information
141+ * See [lazy.nvim uninstall](https://lazy. folke.io/usage #-uninstalling) information
126142* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
127143 * The main purpose of kickstart is to serve as a teaching tool and a reference
128144 configuration that someone can easily use to `git clone` as a basis for their own.
129145 As you progress in learning Neovim and Lua, you might consider splitting `init.lua`
130- into smaller parts. A fork of kickstart that does this while maintaining the
146+ into smaller parts. A fork of kickstart that does this while maintaining the
131147 same functionality is available here:
132148 * [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
133149 * Discussions on this topic can be found here:
134- * [Restructure the configuration](https://github.com/TheSoeren /kickstart.nvim/issues/218)
135- * [Reorganize init.lua into a multi-file setup](https://github.com/TheSoeren /kickstart.nvim/pull/473)
150+ * [Restructure the configuration](https://github.com/nvim-lua /kickstart.nvim/issues/218)
151+ * [Reorganize init.lua into a multi-file setup](https://github.com/nvim-lua /kickstart.nvim/pull/473)
136152
137153### Install Recipes
138154
@@ -166,7 +182,7 @@ run in cmd as **admin**:
166182winget install --accept-source-agreements chocolatey.chocolatey
167183```
168184
169- 2 . install all requirements using choco, exit previous cmd and
185+ 2 . install all requirements using choco, exit the previous cmd and
170186open a new one so that choco path is set, and run in cmd as ** admin** :
171187```
172188choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -199,14 +215,14 @@ sudo apt update
199215sudo apt install make gcc ripgrep unzip git xclip curl
200216
201217# Now we install nvim
202- curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64 .tar.gz
203- sudo rm -rf /opt/nvim-linux64
204- sudo mkdir -p /opt/nvim-linux64
205- sudo chmod a+rX /opt/nvim-linux64
206- sudo tar -C /opt -xzf nvim-linux64 .tar.gz
218+ curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64 .tar.gz
219+ sudo rm -rf /opt/nvim-linux-x86_64
220+ sudo mkdir -p /opt/nvim-linux-x86_64
221+ sudo chmod a+rX /opt/nvim-linux-x86_64
222+ sudo tar -C /opt -xzf nvim-linux-x86_64 .tar.gz
207223
208224# make it available in /usr/local/bin, distro installs to /usr/bin
209- sudo ln -sf /opt/nvim-linux64 /bin/nvim /usr/local/bin/
225+ sudo ln -sf /opt/nvim-linux-x86_64 /bin/nvim /usr/local/bin/
210226```
211227</details >
212228<details ><summary >Fedora Install Steps</summary >
@@ -222,4 +238,3 @@ sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
222238sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
223239```
224240</details >
225-
0 commit comments