aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-08 23:20:46 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-08 23:20:46 +0530
commitf92658f31e5e00ae664e11626e9171f3fca29004 (patch)
tree84a6d5ff83cf185161529c2844bf21d6bfbaf017 /plugins
parent9a757c490566a3581010b10a6c83b361a7848fa0 (diff)
downloadnnn-f92658f31e5e00ae664e11626e9171f3fca29004.tar.gz
Add examples of useful commands to run as plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 60fa5c0..e19c216 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -106,6 +106,17 @@ Notes:
3. (_Again_) add `_` before the command
4. To disable directory refresh after running a _command as plugin_, prefix the command with `-_`
+#### Some useful key-command examples
+
+| Key:Command | Description |
+|---|---|
+| `k:-_fuser -kiv $nnn*` | Interactively kill process(es) using hovered file |
+| `l:_git log` | Show git log |
+| `n:-_vi /home/user/Dropbox/dir/note*` | Take quick notes in a synced file/dir of notes |
+| `s:_smplayer -minigui $nnn*` | Play hovered media file, even unfinished download |
+| `x:_chmod +x $nnn` | Make the hovered file executable |
+| `y:-_sync*` | Flush cached writes |
+
## Access level of plugins
When `nnn` executes a plugin, it does the following: