From a9505103429a26209ba6b57bcb140d83621bf3ad Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 4 May 2020 20:17:40 +0530 Subject: Update docs --- nnn.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nnn.1') diff --git a/nnn.1 b/nnn.1 index 936eaee..fe7e0a5 100644 --- a/nnn.1 +++ b/nnn.1 @@ -331,20 +331,20 @@ separated by \fI;\fR: \fBNNN_PLUG:\fR directly executable plugins as \fIkey_char:location\fR pairs separated by \fI;\fR: .Bd -literal - export NNN_PLUG='o:fzopen;p:mocplay;d:diffs;m:nmount;t:imgthumb' + export NNN_PLUG='f:finder;o:fzopen;p:mocplay;d:diffs;t:nmount;v:imgview' NOTES: 1. To run a plugin directly, press \fI;\fR followed by the plugin key. 2. To skip directory refresh after running a plugin, prefix with \fB-\fR. - export NNN_PLUG='m:-mediainfo' + export NNN_PLUG='m:-mediainf' .Ed .Pp To assign keys to arbitrary non-background non-shell-interpreted cli commands and invoke like plugins, add \fI_\fR (underscore) before the command. .Bd -literal - export NNN_PLUG='x:_chmod +x $nnn;g:_git log;s:_smplayer $nnn;o:fzopen' + export NNN_PLUG='x:_chmod +x $nnn;g:_git log;s:_smplayer $nnn' NOTES: 1. Use single quotes for $NNN_PLUG so $nnn is not interpreted @@ -364,8 +364,8 @@ separated by \fI;\fR: ----------------------------------- + ------------------------------------------------- Key:Command | Description ----------------------------------- + ------------------------------------------------- - k:-_fuser -kiv $nnn* | Interactively kill process(es) using hovered file g:-_git diff | Show git diff + 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 p:-_less -iR $nnn* | Page through hovered file in less -- cgit v1.2.3-70-g09d2