diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-11 19:23:54 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-11 19:26:13 +0530 |
commit | a86150f71a4f272f2dbe17ee8e7d83174f9708a8 (patch) | |
tree | 6cf13472d71b7399a86915e73bd8be5db404fb28 /plugins | |
parent | 8b7a74a451f30ce36e4acddd32ffab0516c1c298 (diff) | |
download | nnn-a86150f71a4f272f2dbe17ee8e7d83174f9708a8.tar.gz |
Reformat help, remove redundant plugin key
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/README.md b/plugins/README.md index 62270c0..0f2165a 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -69,11 +69,11 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. You ca ## Executing plugins -**Method 1:** Directly with <kbd>:key</kbd>: +**Method 1:** Directly with <kbd>;key</kbd> or <kbd>xkey</kbd>: export NNN_PLUG='o:fzopen;p:mocplay;d:diffs;m:nmount;n:notes;v:imgviu;t:imgthumb' -Now plugin `fzopen` can be run with the keybind <kbd>:o</kbd>, `mocplay` can be run with <kbd>:p</kbd> and so on... The key vs. plugin pairs are shown in the help and config screen. +Now plugin `fzopen` can be run with the keybind <kbd>;o</kbd>, `mocplay` can be run with <kbd>;p</kbd> and so on... The key vs. plugin pairs are shown in the help and config screen. **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. @@ -83,7 +83,7 @@ To assign keys to arbitrary non-background cli commands (non-shell-interpreted) export NNN_PLUG='x:_chmod +x $nnn;g:_git log;s:_smplayer $nnn;o:fzopen' -Now <kbd>:x</kbd> can be used to make a file executable, <kbd>:g</kbd> can be used to the git log of a git project directory, <kbd>:s</kbd> can be used to preview a partially downloaded media file. +Now <kbd>;x</kbd> can be used to make a file executable, <kbd>;g</kbd> can be used to the git log of a git project directory, <kbd>;s</kbd> can be used to preview a partially downloaded media file. Notes: |