mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-21 04:33:44 +08:00
48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
|
# nvim-plug
|
||
|
|
||
|
> _nvim-plug_ is a simple plugin manager for neovim
|
||
|
|
||
|
[](https://spacevim.org)
|
||
|
[](LICENSE)
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```lua
|
||
|
require("plug").setup({
|
||
|
|
||
|
bundle_dir = "D:\\bundle_dir\\",
|
||
|
})
|
||
|
|
||
|
require("plug").add({
|
||
|
{
|
||
|
"wsdjeg/scrollbar.vim",
|
||
|
events = { "VimEnter" },
|
||
|
config = function() end,
|
||
|
},
|
||
|
{
|
||
|
"wsdjeg/flygrep.nvim",
|
||
|
cmds = { "FlyGrep" },
|
||
|
config = function()
|
||
|
require("flygrep").setup()
|
||
|
end,
|
||
|
},
|
||
|
})
|
||
|
```
|
||
|
|
||
|
## Plugin Spec
|
||
|
|
||
|
| name | description |
|
||
|
| ------ | ------------------------------------------------------- |
|
||
|
| `[1]` | `string`, plugin repo short name, `wsdjeg/flygrep.nvim` |
|
||
|
| `cmds` | `table<string>`, commands lazy loading |
|
||
|
|
||
|
## Commands
|
||
|
|
||
|
- `:PlugInstall`: install specific plugin
|
||
|
|
||
|
## Feedback
|
||
|
|
||
|
The development of this plugin is in [`SpaceVim/bundle/nvim-plug`](https://github.com/SpaceVim/SpaceVim/tree/master/bundle/nvim-plug) directory.
|
||
|
|
||
|
If you encounter any bugs or have suggestions, please file an issue in the [issue tracker](https://github.com/SpaceVim/SpaceVim/issues)
|