diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-09-11 12:18:58 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-09-11 14:54:23 +0530 |
commit | bb5ef221b31c61576b50547487035362f4fad09d (patch) | |
tree | d729556fdafc96d1345ffc44ee803585f4796ed2 /nnn.1 | |
parent | ccf20f830bd4414e67ceaf7d1a89470735a0d184 (diff) | |
download | nnn-bb5ef221b31c61576b50547487035362f4fad09d.tar.gz |
Run a command at filter prompt
This is a conveninece for nav-as-you-type mode.
With this program option, on pressing ^P, the filter is executed as cmd.
Diffstat (limited to 'nnn.1')
-rw-r--r-- | nnn.1 | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -9,6 +9,7 @@ .Op Ar -a .Op Ar -b key .Op Ar -d +.Op Ar -f .Op Ar -H .Op Ar -i .Op Ar -n @@ -46,6 +47,9 @@ supports the following options: .Fl d detail mode .Pp +.Fl f + run filter as command when ^P is pressed +.Pp .Fl H show hidden files .Pp @@ -116,6 +120,8 @@ with a '^' (caret) symbol. .Pp There is a program option to filter entries by substring match instead of regex. .Pp +There is a program option to execute the current filter as a command when \fI^P\fR is pressed. +.Pp In the \fInavigate-as-you-type\fR mode directories are opened in filter mode, allowing continuous navigation. Works best with the \fBarrow keys\fR. .br @@ -157,8 +163,7 @@ when dealing with the !, e and p commands respectively. A single combination to NOTE: To run a plugin directly, press 'x' followed by the plugin key. .Ed .Pp -\fBNNN_USE_EDITOR:\fR use VISUAL (else EDITOR, preferably CLI, fallback vi) to handle text -files. +\fBNNN_USE_EDITOR:\fR use VISUAL (else EDITOR, preferably CLI, fallback vi) to handle text files. .Bd -literal export NNN_USE_EDITOR=1 .Ed |