Skip to content

Commit 5b1b4aa

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 6a208df + d350db2 commit 5b1b4aa

File tree

6 files changed

+330
-260
lines changed

6 files changed

+330
-260
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: 61 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,27 @@ Distribution Alternatives:
2020

2121
### Installation
2222

23-
> **NOTE**
23+
### Install External Dependencies
24+
25+
External Requirements:
26+
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
27+
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
28+
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
29+
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
30+
- 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`
32+
- Language Setup:
33+
- If you want to write Typescript, you need `npm`
34+
- If you want to write Golang, you will need `go`
35+
- etc.
36+
37+
> [!NOTE]
38+
> See [Install Recipes](#Install-Recipes) for additional Windows and Linux specific notes
39+
> and quick install snippets
40+
41+
### Install Kickstart
42+
43+
> [!NOTE]
2444
> [Backup](#FAQ) your previous configuration (if any exists)
2545
2646
Requirements:
@@ -37,7 +57,27 @@ Neovim's configurations are located under the following paths, depending on your
3757
| Windows (cmd)| `%userprofile%\AppData\Local\nvim\` |
3858
| Windows (powershell)| `$env:USERPROFILE\AppData\Local\nvim\` |
3959

40-
Clone kickstart.nvim:
60+
#### Recommended Step
61+
62+
[Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repo
63+
so that you have your own copy that you can modify, then install by cloning the
64+
fork to your machine using one of the commands below, depending on your OS.
65+
66+
> [!NOTE]
67+
> Your fork's URL will be something like this:
68+
> `https://github.com/<your_github_username>/kickstart.nvim.git`
69+
70+
You likely want to remove `lazy-lock.json` from your fork's `.gitignore` file
71+
too - it's ignored in the kickstart repo to make maintenance easier, but it's
72+
[recommended to track it in version control](https://lazy.folke.io/usage/lockfile).
73+
74+
#### Clone kickstart.nvim
75+
76+
> [!NOTE]
77+
> If following the recommended step above (i.e., forking the repo), replace
78+
> `nvim-lua` with `<your_github_username>` in the commands below
79+
80+
<details><summary> Linux and Mac </summary>
4181

4282
- on Linux and Mac
4383
```sh
@@ -63,15 +103,18 @@ Start Neovim
63103
nvim
64104
```
65105

66-
The `Lazy` plugin manager will start automatically on the first run and install the configured plugins - as can be seen in the introduction video. After the installation is complete you can press `q` to close the `Lazy` UI and **you are ready to go**! Next time you run nvim `Lazy` will no longer show up.
106+
That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
107+
the current plugin status. Hit `q` to close the window.
108+
109+
#### Read The Friendly Documentation
67110

68111
Read through the `init.lua` file in your configuration folder for more
69112
information about extending and exploring Neovim. That also includes
70113
examples of adding popularly requested plugins.
71114

72-
```sh
73-
nvim --headless "+Lazy! sync" +qa
74-
```
115+
> [!NOTE]
116+
> For more information about a particular plugin check its repository's documentation.
117+
75118

76119
### Getting Started
77120

@@ -84,10 +127,10 @@ Each PR, especially those which increase the line count, should have a descripti
84127

85128
### FAQ
86129

87-
* What should I do if I already have a pre-existing neovim configuration?
88-
* You should back it up, then delete all files associated with it.
89-
* This includes your existing init.lua and the neovim files in `~/.local` which can be deleted with `rm -rf ~/.local/share/nvim/`
90-
* You may also want to look at the [migration guide for lazy.nvim](https://github.com/folke/lazy.nvim#-migration-guide)
130+
* What should I do if I already have a pre-existing Neovim configuration?
131+
* You should back it up and then delete all associated files.
132+
* This includes your existing init.lua and the Neovim files in `~/.local`
133+
which can be deleted with `rm -rf ~/.local/share/nvim/`
91134
* Can I keep my existing configuration in parallel to kickstart?
92135
* Yes! You can use [NVIM_APPNAME](https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME)`=nvim-NAME` to maintain multiple configurations. For example you can install the kickstart configuration in `~/.config/nvim-kickstart` and create an alias:
93136
```
@@ -100,7 +143,7 @@ Each PR, especially those which increase the line count, should have a descripti
100143
* The main purpose of kickstart is to serve as a teaching tool and a reference
101144
configuration that someone can easily `git clone` as a basis for their own.
102145
As you progress in learning Neovim and Lua, you might consider splitting `init.lua`
103-
into smaller parts. A fork of kickstart that does this while maintaining the exact
146+
into smaller parts. A fork of kickstart that does this while maintaining the
104147
same functionality is available here:
105148
* [kickstart-modular.nvim](https://github.com/dam9000/kickstart-modular.nvim)
106149
* Discussions on this topic can be found here:
@@ -132,7 +175,7 @@ run in cmd as **admin**:
132175
winget install --accept-source-agreements chocolatey.chocolatey
133176
```
134177

135-
2. install all requirements using choco, exit previous cmd and
178+
2. install all requirements using choco, exit the previous cmd and
136179
open a new one so that choco path is set, and run in cmd as **admin**:
137180
```
138181
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
@@ -165,14 +208,14 @@ sudo apt update
165208
sudo apt install make gcc ripgrep unzip git xclip curl
166209
167210
# Now we install nvim
168-
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
169-
sudo rm -rf /opt/nvim-linux64
170-
sudo mkdir -p /opt/nvim-linux64
171-
sudo chmod a+rX /opt/nvim-linux64
172-
sudo tar -C /opt -xzf nvim-linux64.tar.gz
211+
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
212+
sudo rm -rf /opt/nvim-linux-x86_64
213+
sudo mkdir -p /opt/nvim-linux-x86_64
214+
sudo chmod a+rX /opt/nvim-linux-x86_64
215+
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
173216
174217
# make it available in /usr/local/bin, distro installs to /usr/bin
175-
sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/local/bin/
218+
sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
176219
```
177220
</details>
178221
<details><summary>Fedora Install Steps</summary>

0 commit comments

Comments
 (0)