Skip to content

Commit 2291fde

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 3500ff3 + 34e7d29 commit 2291fde

File tree

8 files changed

+341
-134
lines changed

8 files changed

+341
-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: 38 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +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 the 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
30+
- Emoji fonts (Ubuntu only, and only if you want emoji!) `sudo apt install fonts-noto-color-emoji`
2931
- Language Setup:
30-
- If want to write Typescript, you need `npm`
31-
- 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`
3234
- etc.
3335

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

5153
#### Recommended Step
5254

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

5759
> **NOTE**
58-
> Your fork's url will be something like this:
60+
> Your fork's URL will be something like this:
5961
> `https://github.com/<your_github_username>/kickstart.nvim.git`
6062
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+
6167
#### Clone kickstart.nvim
6268
> **NOTE**
6369
> If following the recommended step above (i.e., forking the repo), replace
@@ -76,13 +82,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
7682
If you're using `cmd.exe`:
7783

7884
```
79-
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"
8086
```
8187

8288
If you're using `powershell.exe`
8389

8490
```
85-
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"
8692
```
8793

8894
</details>
@@ -96,22 +102,27 @@ nvim
96102
```
97103

98104
That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
99-
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
100108

101109
Read through the `init.lua` file in your configuration folder for more
102-
information about extending and exploring Neovim. That includes also
110+
information about extending and exploring Neovim. That also includes
103111
examples of adding popularly requested plugins.
104112

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

106117
### Getting Started
107118

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

110121
### FAQ
111122

112-
* 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?
113124
* You should back it up and then delete all associated files.
114-
* 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`
115126
which can be deleted with `rm -rf ~/.local/share/nvim/`
116127
* Can I keep my existing configuration in parallel to kickstart?
117128
* Yes! You can use [NVIM_APPNAME](https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME)`=nvim-NAME`
@@ -125,12 +136,12 @@ examples of adding popularly requested plugins.
125136
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
126137
distribution that you would like to try out.
127138
* What if I want to "uninstall" this configuration:
128-
* See [lazy.nvim uninstall](https://github.com/folke/lazy.nvim#-uninstalling) information
139+
* See [lazy.nvim uninstall](https://lazy.folke.io/usage#-uninstalling) information
129140
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
130141
* The main purpose of kickstart is to serve as a teaching tool and a reference
131142
configuration that someone can easily use to `git clone` as a basis for their own.
132143
As you progress in learning Neovim and Lua, you might consider splitting `init.lua`
133-
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
134145
same functionality is available here:
135146
* [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
136147
* Discussions on this topic can be found here:
@@ -169,7 +180,7 @@ run in cmd as **admin**:
169180
winget install --accept-source-agreements chocolatey.chocolatey
170181
```
171182

172-
2. install all requirements using choco, exit previous cmd and
183+
2. install all requirements using choco, exit the previous cmd and
173184
open a new one so that choco path is set, and run in cmd as **admin**:
174185
```
175186
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -182,7 +193,7 @@ wsl --install
182193
wsl
183194
sudo add-apt-repository ppa:neovim-ppa/unstable -y
184195
sudo apt update
185-
sudo apt install make gcc ripgrep unzip neovim
196+
sudo apt install make gcc ripgrep unzip git xclip neovim
186197
```
187198
</details>
188199

@@ -192,17 +203,24 @@ sudo apt install make gcc ripgrep unzip neovim
192203
```
193204
sudo add-apt-repository ppa:neovim-ppa/unstable -y
194205
sudo apt update
195-
sudo apt install make gcc ripgrep unzip git neovim
206+
sudo apt install make gcc ripgrep unzip git xclip neovim
196207
```
197208
</details>
198209
<details><summary>Debian Install Steps</summary>
199210

200211
```
201212
sudo apt update
202-
sudo apt install make gcc ripgrep unzip git
203-
echo "deb https://deb.debian.org/debian unstable main" | sudo tee -a /etc/apt/sources.list
204-
sudo apt update
205-
sudo apt install -t unstable neovim
213+
sudo apt install make gcc ripgrep unzip git xclip curl
214+
215+
# Now we install nvim
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
221+
222+
# make it available in /usr/local/bin, distro installs to /usr/bin
223+
sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
206224
```
207225
</details>
208226
<details><summary>Fedora Install Steps</summary>

0 commit comments

Comments
 (0)