You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
81
-
current plugin status.
104
+
current plugin status. Hit `q` to close the window.
82
105
83
106
Read through the `init.lua` file in your configuration folder for more
84
-
information about extending and exploring Neovim.
85
-
86
-
### Getting Started
87
-
88
-
See [Effective Neovim: Instant IDE](https://youtu.be/stqUbv-5u2s), covering the
89
-
previous version. Note: The install via init.lua is outdated, please follow the
90
-
install instructions in this file instead. An updated video is coming soon.
91
-
92
-
### Recommended Steps
107
+
information about extending and exploring Neovim. That also includes
108
+
examples of adding popularly requested plugins.
93
109
94
-
[Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repo
95
-
(so that you have your own copy that you can modify) and then installing you
96
-
can install to your machine using the methods above.
97
-
98
-
> **NOTE**
99
-
> Your fork's url will be something like this: `https://github.com/<your_github_username>/kickstart.nvim.git`
100
-
101
-
#### Examples of adding popularly requested plugins
102
-
103
-
<details>
104
-
<summary>Adding autopairs</summary>
105
-
106
-
This will automatically install [windwp/nvim-autopairs](https://github.com/windwp/nvim-autopairs) and enable it on startup. For more information, see documentation for [lazy.nvim](https://github.com/folke/lazy.nvim).
107
-
108
-
In the file: `lua/custom/plugins/autopairs.lua`, add:
109
-
110
-
```lua
111
-
-- File: lua/custom/plugins/autopairs.lua
112
-
113
-
return {
114
-
"windwp/nvim-autopairs",
115
-
-- Optional dependency
116
-
dependencies= { 'hrsh7th/nvim-cmp' },
117
-
config=function()
118
-
require("nvim-autopairs").setup {}
119
-
-- If you want to automatically add `(` after selecting a function or method
This will install the tree plugin and add the command `:Neotree` for you. You can explore the documentation at [neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim) for more information.
135
-
136
-
In the file: `lua/custom/plugins/filetree.lua`, add:
137
-
138
-
```lua
139
-
-- Unless you are still migrating, remove the deprecated commands from v1.x
140
-
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
141
-
142
-
return {
143
-
"nvim-neo-tree/neo-tree.nvim",
144
-
version="*",
145
-
dependencies= {
146
-
"nvim-lua/plenary.nvim",
147
-
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
148
-
"MunifTanjim/nui.nvim",
149
-
},
150
-
config=function ()
151
-
require('neo-tree').setup {}
152
-
end,
153
-
}
154
-
```
111
+
### Getting Started
155
112
156
-
</details>
113
+
[The Only Video You Need to Get Started with Neovim](https://youtu.be/m8C0Cq9Uv9o)
157
114
158
115
### FAQ
159
116
160
117
* What should I do if I already have a pre-existing neovim configuration?
161
-
* You should back it up, then delete all files associated with it.
162
-
* This includes your existing init.lua and the neovim files in `~/.local` which can be deleted with `rm -rf ~/.local/share/nvim/`
118
+
* You should back it up and then delete all associated files.
119
+
* This includes your existing init.lua and the neovim files in `~/.local`
120
+
which can be deleted with `rm -rf ~/.local/share/nvim/`
163
121
* Can I keep my existing configuration in parallel to kickstart?
164
-
* 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:
122
+
* Yes! You can use [NVIM_APPNAME](https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME)`=nvim-NAME`
123
+
to maintain multiple configurations. For example, you can install the kickstart
124
+
configuration in `~/.config/nvim-kickstart` and create an alias:
165
125
```
166
126
alias nvim-kickstart='NVIM_APPNAME="nvim-kickstart" nvim'
167
127
```
168
-
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.
128
+
When you run Neovim using `nvim-kickstart` alias it will use the alternative
129
+
config directory and the matching local directory
130
+
`~/.local/share/nvim-kickstart`. You can apply this approach to any Neovim
131
+
distribution that you would like to try out.
169
132
* What if I want to "uninstall" this configuration:
170
133
* See [lazy.nvim uninstall](https://github.com/folke/lazy.nvim#-uninstalling) information
171
134
* Why is the kickstart `init.lua` a single file? Wouldn't it make sense to split it into multiple files?
172
135
* The main purpose of kickstart is to serve as a teaching tool and a reference
173
-
configuration that someone can easily `git clone` as a basis for their own.
136
+
configuration that someone can easily use to `git clone` as a basis for their own.
174
137
As you progress in learning Neovim and Lua, you might consider splitting `init.lua`
175
-
into smaller parts. A fork of kickstart that does this while maintaining the exact
138
+
into smaller parts. A fork of kickstart that does this while maintaining the
0 commit comments