You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xplr/docs/en/src/installing-plugins.md

29 lines
692 B
Markdown

Installing Plugins
==================
Until we get a cool plugin manager, let's install plugins manually using the
following procedure:
- Add the following line in `~/.config/xplr/init.lua`
```lua
package.path = os.getenv("HOME") .. '/.config/xplr/plugins/?/src/init.lua'
```
- Clone the plugin
```bash
mkdir -p ~/.config/xplr/plugins
git clone https://github.com/sayanarijit/material-landscape2.xplr ~/.config/xplr/plugins/material-landscape2
```
- Require the module in `~/.config/xplr/init.lua`
```lua
require("material-landscape2").setup()
-- The setup arguments might differ for different plugins.
-- Visit the project README for setup instructions.
```