plugins/README.md | 12 +++++------- diff --git a/plugins/README.md b/plugins/README.md index 8ee61b85ce824405cd6132bf2d0aeddac1b39f19..d269167ed6a7e952373c462f556bfc36bd4feb5a 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -47,17 +47,15 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. You can run the `getplugs` plugin later to update the plugins. It backs up earlier plugins. **NOTE:** `getplugs` also downloads the launcher `nlaunch` and tries to place it at `/usr/local/bin/` using `sudo`. If it fails you have to place `nlauch` manually somewhere in your `$PATH`. -## Usage - -There are 2 ways to run plugins: +## Executing plugins -1. Directly with x-key: +**Method 1:** Directly with :key: - export NNN_PLUG='o:fzy-open;p:mocplay;d:ndiff;m:nmount;t:thumb' + export NNN_PLUG='o:fzy-open;p:mocplay;d:ndiff;m:nmount;n:notes;t:thumb' - With this, plugin `fzy-open` can be run with the keybind xo, `mocplay` can be run with xp and so on... The key vs. plugin pairs are shown in the help and config screen. Up to 10 plugins can have such keybinds. +With this, plugin `fzy-open` can be run with the keybind :o, `mocplay` can be run with :p and so on... The key vs. plugin pairs are shown in the help and config screen. Up to 10 plugins can have such keybinds. -2. Use the _pick plugin_ shortcut to visit the plugin directory and execute a plugin. Repeating the same shortcut cancels the operation and puts you back in the original directory. +**Method 2:** Use the _pick plugin_ shortcut to visit the plugin directory and execute a plugin. Repeating the same shortcut cancels the operation and puts you back in the original directory. ## File access from plugins