Skip to content

Commit 1944d07

Browse files
authored
Merge branch 'nvim-lua:master' into master
2 parents 8dc7791 + 39ae082 commit 1944d07

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,18 @@ Neovim's configurations are located under the following paths, depending on your
3939

4040
Clone kickstart.nvim:
4141

42+
- on Linux and Mac
4243
```sh
43-
# on Linux and Mac
4444
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
4545
```
4646

47-
47+
- on Windows (cmd)
4848
```
49-
# on Windows (cmd)
5049
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
5150
```
5251

52+
- on Windows (powershell)
5353
```
54-
# on Windows (powershell)
5554
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
5655
```
5756

@@ -157,12 +156,11 @@ Each PR, especially those which increase the line count, should have a descripti
157156
* This includes your existing init.lua and the neovim files in `~/.local` which can be deleted with `rm -rf ~/.local/share/nvim/`
158157
* You may also want to look at the [migration guide for lazy.nvim](https://github.com/folke/lazy.nvim#-migration-guide)
159158
* Can I keep my existing configuration in parallel to kickstart?
160-
* 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 a script `~/bin/nvim-kickstart`:
159+
* 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:
161160
```
162-
#!/bin/sh
163-
exec env NVIM_APPNAME=nvim-kickstart nvim "$@"
161+
alias nvim-kickstart='NVIM_APPNAME="nvim-kickstart" nvim'
164162
```
165-
When you run Neovim with `nvim-kickstart` it will use the alternative config directory and the matching local directory: `~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim distribution that you would like to try out.
163+
When you run Neovim using `nvim-kickstart` alias it will use the alternative config directory and the matching local directory `~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim distribution that you would like to try out.
166164
* What if I want to "uninstall" this configuration:
167165
* See [lazy.nvim uninstall](https://github.com/folke/lazy.nvim#-uninstalling) information
168166
* Are there any cool videos about this plugin?

0 commit comments

Comments
 (0)