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

    package.path = os.getenv("HOME") .. '/.config/xplr/plugins/?/src/init.lua'
  • Clone the plugin

    mkdir -p ~/.config/xplr/plugins
    git clone ~/.config/xplr/plugins/material-landscape2
  • Require the module in ~/.config/xplr/init.lua

    -- The setup arguments might differ for different plugins.
    -- Visit the project README for setup instructions.