@@ -24,11 +24,12 @@ If you are experiencing issues, please make sure you have the latest versions.
2424External Requirements:
2525- Basic utils: ` git ` , ` make ` , ` unzip ` , C Compiler (` gcc ` )
2626- [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation )
27+ - Clipboard tool (xclip/xsel/win32yank or other depending on platform)
2728- A [ Nerd Font] ( https://www.nerdfonts.com/ ) : optional, provides various icons
2829 - if you have it set ` vim.g.have_nerd_font ` in ` init.lua ` to true
2930- Language Setup:
30- - If want to write Typescript, you need ` npm `
31- - If want to write Golang, you will need ` go `
31+ - If you want to write Typescript, you need ` npm `
32+ - If you want to write Golang, you will need ` go `
3233 - etc.
3334
3435> ** NOTE**
@@ -45,8 +46,8 @@ Neovim's configurations are located under the following paths, depending on your
4546| OS | PATH |
4647| :- | :--- |
4748| Linux, MacOS | ` $XDG_CONFIG_HOME/nvim ` , ` ~/.config/nvim ` |
48- | Windows (cmd)| ` %userprofile%\AppData\Local \nvim\ ` |
49- | Windows (powershell)| ` $env:USERPROFILE\AppData\Local \nvim\ ` |
49+ | Windows (cmd)| ` %localappdata% \nvim\ ` |
50+ | Windows (powershell)| ` $env:LOCALAPPDATA \nvim\ ` |
5051
5152#### Recommended Step
5253
@@ -58,6 +59,10 @@ fork to your machine using one of the commands below, depending on your OS.
5859> Your fork's url will be something like this:
5960> ` https://github.com/<your_github_username>/kickstart.nvim.git `
6061
62+ You likely want to remove ` lazy-lock.json ` from your fork's ` .gitignore ` file
63+ too - it's ignored in the kickstart repo to make maintenance easier, but it's
64+ [ recommmended to track it in version control] ( https://lazy.folke.io/usage/lockfile ) .
65+
6166#### Clone kickstart.nvim
6267> ** NOTE**
6368> If following the recommended step above (i.e., forking the repo), replace
@@ -76,13 +81,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
7681If you're using ` cmd.exe ` :
7782
7883```
79- git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\ nvim\
84+ git clone https://github.com/nvim-lua/kickstart.nvim.git "%localappdata%\ nvim"
8085```
8186
8287If you're using ` powershell.exe `
8388
8489```
85- git clone https://github.com/nvim-lua/kickstart.nvim.git $ env:USERPROFILE\AppData\Local\ nvim\
90+ git clone https://github.com/nvim-lua/kickstart.nvim.git "${ env:LOCALAPPDATA}\ nvim"
8691```
8792
8893</details >
@@ -99,70 +104,9 @@ That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
99104current plugin status. Hit ` q ` to close the window.
100105
101106Read through the ` init.lua ` file in your configuration folder for more
102- information about extending and exploring Neovim.
103-
104-
105- #### Examples of adding popularly requested plugins
106-
107- NOTE: You'll need to uncomment the line in the init.lua that turns on loading custom plugins.
108-
109- <details >
110- <summary >Adding autopairs</summary >
111-
112- This will automatically install [ windwp/nvim-autopairs] ( https://github.com/windwp/nvim-autopairs )
113- and enable it on startup. For more information, see documentation for
114- [ lazy.nvim] ( https://github.com/folke/lazy.nvim ) .
115-
116- In the file: ` lua/custom/plugins/autopairs.lua ` , add:
117-
118- ``` lua
119- -- File: lua/custom/plugins/autopairs.lua
120-
121- return {
122- " windwp/nvim-autopairs" ,
123- -- Optional dependency
124- dependencies = { ' hrsh7th/nvim-cmp' },
125- config = function ()
126- require (" nvim-autopairs" ).setup {}
127- -- If you want to automatically add `(` after selecting a function or method
128- local cmp_autopairs = require (' nvim-autopairs.completion.cmp' )
129- local cmp = require (' cmp' )
130- cmp .event :on (
131- ' confirm_done' ,
132- cmp_autopairs .on_confirm_done ()
133- )
134- end ,
135- }
136- ```
137-
138- </details >
139- <details >
140- <summary >Adding a file tree plugin</summary >
141-
142- This will install the tree plugin and add the command ` :Neotree ` for you.
143- For more information, see the documentation at
144- [ neo-tree.nvim] ( https://github.com/nvim-neo-tree/neo-tree.nvim ) .
107+ information about extending and exploring Neovim. That also includes
108+ examples of adding popularly requested plugins.
145109
146- In the file: ` lua/custom/plugins/filetree.lua ` , add:
147-
148- ``` lua
149- -- File: lua/custom/plugins/filetree.lua
150-
151- return {
152- " nvim-neo-tree/neo-tree.nvim" ,
153- version = " *" ,
154- dependencies = {
155- " nvim-lua/plenary.nvim" ,
156- " nvim-tree/nvim-web-devicons" , -- not strictly required, but recommended
157- " MunifTanjim/nui.nvim" ,
158- },
159- config = function ()
160- require (' neo-tree' ).setup {}
161- end ,
162- }
163- ```
164-
165- </details >
166110
167111### Getting Started
168112
@@ -186,7 +130,7 @@ return {
186130 `~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
187131 distribution that you would like to try out.
188132* What if I want to "uninstall" this configuration:
189- * See [lazy.nvim uninstall](https://github.com/ folke/lazy.nvim #-uninstalling) information
133+ * See [lazy.nvim uninstall](https://lazy. folke.io/usage #-uninstalling) information
190134* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
191135 * The main purpose of kickstart is to serve as a teaching tool and a reference
192136 configuration that someone can easily use to `git clone` as a basis for their own.
@@ -243,7 +187,7 @@ wsl --install
243187wsl
244188sudo add-apt-repository ppa:neovim-ppa/unstable -y
245189sudo apt update
246- sudo apt install make gcc ripgrep unzip neovim
190+ sudo apt install make gcc ripgrep unzip git xclip neovim
247191```
248192</details >
249193
@@ -253,23 +197,37 @@ sudo apt install make gcc ripgrep unzip neovim
253197```
254198sudo add-apt-repository ppa:neovim-ppa/unstable -y
255199sudo apt update
256- sudo apt install make gcc ripgrep unzip neovim
200+ sudo apt install make gcc ripgrep unzip git xclip neovim
257201```
258202</details >
259203<details ><summary >Debian Install Steps</summary >
260204
261205```
262206sudo apt update
263- sudo apt install make gcc ripgrep unzip git
264- echo "deb https://deb.debian.org/debian unstable main" | sudo tee -a /etc/apt/sources.list
265- sudo apt update
266- sudo apt install -t unstable neovim
207+ sudo apt install make gcc ripgrep unzip git xclip curl
208+
209+ # Now we install nvim
210+ curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
211+ sudo rm -rf /opt/nvim-linux64
212+ sudo mkdir -p /opt/nvim-linux64
213+ sudo chmod a+rX /opt/nvim-linux64
214+ sudo tar -C /opt -xzf nvim-linux64.tar.gz
215+
216+ # make it available in /usr/local/bin, distro installs to /usr/bin
217+ sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/local/bin/
267218```
268219</details >
269220<details ><summary >Fedora Install Steps</summary >
270221
271222```
272- sudo dnf install -y gcc make git ripgrep fd-find neovim
223+ sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
224+ ```
225+ </details >
226+
227+ <details ><summary >Arch Install Steps</summary >
228+
229+ ```
230+ sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
273231```
274232</details >
275233
0 commit comments