Plugins
Plugins
Section titled “Plugins”This page is the plugin index for rim.
Use it to:
- understand how plugin installation works
- see the current official plugin list
- jump to the plugin-specific page you actually want
Current Plugin Model
Section titled “Current Plugin Model”rim currently discovers plugin components from a plugins directory inside the user config directory.
Typical locations are:
- Linux and other Unix-like systems:
~/.config/rim/plugins/ - macOS:
~/Library/Application Support/rim/plugins/ - Windows:
%AppData%\\rim\\plugins\\
Current runtime expectations:
- each plugin file must be a
.wasmfile - discovery scans only the top level of the
pluginsdirectory - non-
.wasmfiles are ignored - duplicate plugin ids are rejected
- plugins are discovered when
rimstarts
Installation Flow
Section titled “Installation Flow”The default installation path is:
- Run
rim plugin install github ... - Let
rimclone the GitHub repository and build the Wasm artifact - Let
riminstall the.wasmartifact into yourrim/plugins/directory - Restart
rim - Invoke the plugin command from the command palette, command line, or your own keymap
Before cloning and compiling, rim checks:
gitcargorustup- the Rust target
wasm32-wasip2
If one of them is missing, rim stops and tells you what to install.
Install A Plugin From Another Repository
Section titled “Install A Plugin From Another Repository”The GitHub installer is not limited to this repository.
Use this command shape:
rim plugin install github owner/repo --package plugin-crate-nameExamples:
rim plugin install github someone/rim-plugins --package rim-plugin-fzfrim plugin install github https://github.com/example/tools --package rim-plugin-rgWhen the repository name and crate name differ, --package must match the plugin crate’s Cargo package name.
Official Plugins
Section titled “Official Plugins”The current official plugin list is:
Plugin Pages
Section titled “Plugin Pages”Use the plugin-specific page when you need:
- exact install commands
- prerequisite tools
- command names and key binding examples
- troubleshooting for that plugin