Skip to content

Commit 84f124f

Browse files
authored
Merge branch 'master' into master
2 parents 01abcce + 34e7d29 commit 84f124f

File tree

8 files changed

+317
-134
lines changed

8 files changed

+317
-134
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: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ If you are experiencing issues, please make sure you have the latest versions.
2424
External 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)
27+
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
2828
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
2929
- 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`
3031
- 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`
3334
- etc.
3435

3536
> **NOTE**
@@ -46,8 +47,8 @@ Neovim's configurations are located under the following paths, depending on your
4647
| OS | PATH |
4748
| :- | :--- |
4849
| Linux, MacOS | `$XDG_CONFIG_HOME/nvim`, `~/.config/nvim` |
49-
| Windows (cmd)| `%userprofile%\AppData\Local\nvim\` |
50-
| Windows (powershell)| `$env:USERPROFILE\AppData\Local\nvim\` |
50+
| Windows (cmd)| `%localappdata%\nvim\` |
51+
| Windows (powershell)| `$env:LOCALAPPDATA\nvim\` |
5152

5253
#### Recommended Step
5354

@@ -56,9 +57,13 @@ so that you have your own copy that you can modify, then install by cloning the
5657
fork to your machine using one of the commands below, depending on your OS.
5758

5859
> **NOTE**
59-
> Your fork's url will be something like this:
60+
> Your fork's URL will be something like this:
6061
> `https://github.com/<your_github_username>/kickstart.nvim.git`
6162
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+
6267
#### Clone kickstart.nvim
6368
> **NOTE**
6469
> If following the recommended step above (i.e., forking the repo), replace
@@ -77,13 +82,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
7782
If you're using `cmd.exe`:
7883

7984
```
80-
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
85+
git clone https://github.com/nvim-lua/kickstart.nvim.git "%localappdata%\nvim"
8186
```
8287

8388
If you're using `powershell.exe`
8489

8590
```
86-
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
91+
git clone https://github.com/nvim-lua/kickstart.nvim.git "${env:LOCALAPPDATA}\nvim"
8792
```
8893

8994
</details>
@@ -97,22 +102,27 @@ nvim
97102
```
98103

99104
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.
105+
the current plugin status. Hit `q` to close the window.
106+
107+
#### Read The Friendly Documentation
101108

102109
Read through the `init.lua` file in your configuration folder for more
103110
information about extending and exploring Neovim. That also includes
104111
examples of adding popularly requested plugins.
105112

113+
> [!NOTE]
114+
> For more information about a particular plugin check its repository's documentation.
115+
106116

107117
### Getting Started
108118

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

111121
### FAQ
112122

113-
* What should I do if I already have a pre-existing neovim configuration?
123+
* What should I do if I already have a pre-existing Neovim configuration?
114124
* You should back it up and then delete all associated files.
115-
* This includes your existing init.lua and the neovim files in `~/.local`
125+
* This includes your existing init.lua and the Neovim files in `~/.local`
116126
which can be deleted with `rm -rf ~/.local/share/nvim/`
117127
* Can I keep my existing configuration in parallel to kickstart?
118128
* Yes! You can use [NVIM_APPNAME](https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME)`=nvim-NAME`
@@ -126,12 +136,12 @@ examples of adding popularly requested plugins.
126136
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
127137
distribution that you would like to try out.
128138
* What if I want to "uninstall" this configuration:
129-
* See [lazy.nvim uninstall](https://github.com/folke/lazy.nvim#-uninstalling) information
139+
* See [lazy.nvim uninstall](https://lazy.folke.io/usage#-uninstalling) information
130140
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
131141
* The main purpose of kickstart is to serve as a teaching tool and a reference
132142
configuration that someone can easily use to `git clone` as a basis for their own.
133143
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
144+
into smaller parts. A fork of kickstart that does this while maintaining the
135145
same functionality is available here:
136146
* [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
137147
* Discussions on this topic can be found here:
@@ -170,7 +180,7 @@ run in cmd as **admin**:
170180
winget install --accept-source-agreements chocolatey.chocolatey
171181
```
172182

173-
2. install all requirements using choco, exit previous cmd and
183+
2. install all requirements using choco, exit the previous cmd and
174184
open a new one so that choco path is set, and run in cmd as **admin**:
175185
```
176186
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -203,14 +213,14 @@ sudo apt update
203213
sudo apt install make gcc ripgrep unzip git xclip curl
204214
205215
# 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
216+
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
217+
sudo rm -rf /opt/nvim-linux-x86_64
218+
sudo mkdir -p /opt/nvim-linux-x86_64
219+
sudo chmod a+rX /opt/nvim-linux-x86_64
220+
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
211221
212222
# make it available in /usr/local/bin, distro installs to /usr/bin
213-
sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/local/bin/
223+
sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
214224
```
215225
</details>
216226
<details><summary>Fedora Install Steps</summary>

0 commit comments

Comments
 (0)