Update docs

This commit is contained in:
Arun Prakash Jana 2020-01-09 01:20:42 +05:30
parent f92658f31e
commit 0492fa385d
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -10,6 +10,14 @@
Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or binaries) which `nnn` can communicate with and trigger. This mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins. Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or binaries) which `nnn` can communicate with and trigger. This mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins.
## Installing plugins
The following command installs or updates (after backup) all plugins:
curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh
Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
## List of plugins ## List of plugins
| Plugin (a-z) | Description | Lang | Deps | | Plugin (a-z) | Description | Lang | Deps |
@ -55,14 +63,6 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina
| vidthumb | Show video thumbnails in terminal | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),<br>[lsix](https://github.com/hackerb9/lsix) | | vidthumb | Show video thumbnails in terminal | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),<br>[lsix](https://github.com/hackerb9/lsix) |
| wall | Set wallpaper or change colorscheme | sh | nitrogen/pywal | | wall | Set wallpaper or change colorscheme | sh | nitrogen/pywal |
## Installing plugins
The following command installs all plugins:
curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh
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.
## Ways to invoke a plugin ## Ways to invoke a plugin
1. Execute directly with <kbd>;key</kbd> or <kbd>xkey</kbd>: 1. Execute directly with <kbd>;key</kbd> or <kbd>xkey</kbd>: