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
* Ensure your extraction method did not extract with a parent folder. For example in ~/.config/nvim you should have init.lua not another folder called kickstart.nvim.
* Run Neovim (from terminal or shortcut) and allow lazy.nvim to download files and set up the basics.
39
+
* Once the setup is complete, restart Neovim.
40
40
***You're ready to go!**
41
41
42
42
* (Recommended/Optional) Fork this repo (so that you have your own copy that you can modify).
@@ -46,17 +46,18 @@ Distribution Alternatives:
46
46
Additional system requirements:
47
47
- Make sure to review the readmes of the plugins if you are experiencing errors. In particular:
48
48
-[ripgrep](https://github.com/BurntSushi/ripgrep#installation) is required for multiple [telescope](https://github.com/nvim-telescope/telescope.nvim#suggested-dependencies) pickers.
49
-
- See as well [Windows Installation](#Windows-Installation)
49
+
- See [Windows Installation](#Windows-Installation) if you have trouble with `telescope-fzf-native`
50
50
51
51
### Configuration And Extension
52
52
53
-
* Inside of your fork, feel free to modify any file you like! It's your fork!
54
-
*Then there are two primary configuration options available:
55
-
* Include the `lua/kickstart/plugins/*` files in your configuration.
53
+
* Inside of your copy, feel free to modify any file you like! It's your copy!
54
+
*Feel free to change any of the default options in `init.lua` to better suit your needs.
55
+
* For adding plugins, there are 3 primary options:
56
56
* Add new configuration in `lua/custom/plugins/*` files, which will be auto sourced using `lazy.nvim`
57
-
* NOTE: To enable this, you need to uncomment `{ import = 'custom.plugins' }` in your `init.lua`
57
+
* Modify `init.lua` with additional plugins.
58
+
* Include the `lua/kickstart/plugins/*` files in your configuration.
58
59
59
-
You can also merge updates/changes from the repo back into your fork, to keep up-to-date with any changes for the default configuration
60
+
You can also merge updates/changes from the repo back into your fork, to keep up-to-date with any changes for the default configuration.
60
61
61
62
#### Example: Adding an autopairs plugin
62
63
@@ -67,14 +68,23 @@ In the file: `lua/custom/plugins/autopairs.lua`, add:
67
68
68
69
return {
69
70
"windwp/nvim-autopairs",
71
+
-- Optional dependency
72
+
dependencies= { 'hrsh7th/nvim-cmp' },
70
73
config=function()
71
74
require("nvim-autopairs").setup {}
75
+
-- If you want to automatically add `(` after selecting a function or method
This will automatically install `nvim-autopairs` and enable it on startup. For more information, see documentation for [lazy.nvim](https://github.com/folke/lazy.nvim).
87
+
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).
78
88
79
89
#### Example: Adding a file tree plugin
80
90
@@ -100,16 +110,6 @@ return {
100
110
101
111
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.
102
112
103
-
#### Example: Adding a file to change default options
104
-
105
-
To change default options, you can add a file in the `/after/plugin/` folder (see `:help load-plugins`) to include your own options, keymaps, autogroups, and more. The following is an example `defaults.lua` file (located at `$HOME/.config/nvim/after/plugin/defaults.lua`).
Pull-requests are welcome. The goal of this repo is not to create a Neovim configuration framework, but to offer a starting template that shows, by example, available features in Neovim. Some things that will not be included:
0 commit comments