Skip to content

Commit 7f260e2

Browse files
authored
Merge branch 'master' into master
2 parents 7185f2f + 6ba2408 commit 7f260e2

File tree

9 files changed

+459
-293
lines changed

9 files changed

+459
-293
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ assignees: ''
99

1010
<!-- Any bug report not following this template will be immediately closed. Thanks -->
1111

12+
## Before Reporting an Issue
13+
- I have read the kickstart.nvim README.md.
14+
- I have read the appropriate plugin's documentation.
15+
- I have searched that this issue has not been reported before.
16+
17+
- [ ] **By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.**
18+
1219
## Describe the bug
1320
<!-- A clear and concise description of what the bug is. -->
1421

@@ -18,8 +25,8 @@ assignees: ''
1825

1926
## Desktop
2027
<!-- please complete the following information. -->
21-
- OS:
22-
- Terminal:
28+
- OS:
29+
- Terminal:
2330

2431
## Neovim Version
2532
<!-- Output of running `:version` from inside of neovim. -->

README.md

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,51 @@ If you are experiencing issues, please make sure you have the latest versions.
2323

2424
External 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
4446
Neovim'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
5557
so that you have your own copy that you can modify, then install by cloning the
5658
fork 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
63-
> **NOTE**
69+
70+
> [!NOTE]
6471
> If following the recommended step above (i.e., forking the repo), replace
6572
> `nvim-lua` with `<your_github_username>` in the commands below
6673
@@ -77,13 +84,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
7784
If you're using `cmd.exe`:
7885

7986
```
80-
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
87+
git clone https://github.com/nvim-lua/kickstart.nvim.git "%localappdata%\nvim"
8188
```
8289

8390
If you're using `powershell.exe`
8491

8592
```
86-
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
93+
git clone https://github.com/nvim-lua/kickstart.nvim.git "${env:LOCALAPPDATA}\nvim"
8794
```
8895

8996
</details>
@@ -97,22 +104,27 @@ nvim
97104
```
98105

99106
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.
107+
the current plugin status. Hit `q` to close the window.
108+
109+
#### Read The Friendly Documentation
101110

102111
Read through the `init.lua` file in your configuration folder for more
103112
information about extending and exploring Neovim. That also includes
104113
examples of adding popularly requested plugins.
105114

115+
> [!NOTE]
116+
> For more information about a particular plugin check its repository's documentation.
117+
106118

107119
### Getting Started
108120

109121
[The Only Video You Need to Get Started with Neovim](https://youtu.be/m8C0Cq9Uv9o)
110122

111123
### FAQ
112124

113-
* 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?
114126
* You should back it up and then delete all associated files.
115-
* 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`
116128
which can be deleted with `rm -rf ~/.local/share/nvim/`
117129
* Can I keep my existing configuration in parallel to kickstart?
118130
* Yes! You can use [NVIM_APPNAME](https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME)`=nvim-NAME`
@@ -126,12 +138,12 @@ examples of adding popularly requested plugins.
126138
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
127139
distribution that you would like to try out.
128140
* What if I want to "uninstall" this configuration:
129-
* See [lazy.nvim uninstall](https://github.com/folke/lazy.nvim#-uninstalling) information
141+
* See [lazy.nvim uninstall](https://lazy.folke.io/usage#-uninstalling) information
130142
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
131143
* The main purpose of kickstart is to serve as a teaching tool and a reference
132144
configuration that someone can easily use to `git clone` as a basis for their own.
133145
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
146+
into smaller parts. A fork of kickstart that does this while maintaining the
135147
same functionality is available here:
136148
* [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
137149
* Discussions on this topic can be found here:
@@ -170,7 +182,7 @@ run in cmd as **admin**:
170182
winget install --accept-source-agreements chocolatey.chocolatey
171183
```
172184

173-
2. install all requirements using choco, exit previous cmd and
185+
2. install all requirements using choco, exit the previous cmd and
174186
open a new one so that choco path is set, and run in cmd as **admin**:
175187
```
176188
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -203,14 +215,14 @@ sudo apt update
203215
sudo apt install make gcc ripgrep unzip git xclip curl
204216
205217
# 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
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
211223
212224
# make it available in /usr/local/bin, distro installs to /usr/bin
213-
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/
214226
```
215227
</details>
216228
<details><summary>Fedora Install Steps</summary>

0 commit comments

Comments
 (0)