aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 17:32:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 17:32:43 +0530
commit88a940dcabfe5b0ad12ef62e689505f2438cec62 (patch)
treeb5f5e1795005fe9008c0ba574a6bcc5cba994020
parent366f49e6b3ad73f330e04bbaf8020398292c0a3b (diff)
downloadnnn-88a940dcabfe5b0ad12ef62e689505f2438cec62.tar.gz
Document NNN_TMPFILE
-rw-r--r--README.md6
-rw-r--r--nnn.15
2 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index 68a14ae..0167891 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ Noice is Not Noice, a noicer fork...
<p align="center"><i>nnn in action! (Thanks Luke Smith for the video!)</i></a></p>
-`nnn` is probably the [fastest and most lightweight](#comparison) file manager you have ever used. It integrates seamlessly with your DE and favourite GUI utilities, has a unique [navigate-as-you-type](#navigate-as-you-type-mode) mode with auto-select, disk usage analyzer mode, bookmarks, contexts, application launcher, familiar navigation shortcuts, subshell spawning, quick notes and much more.
+`nnn` is probably the [fastest and most lightweight](#comparison) file manager you have ever used. It integrates seamlessly with your DE and favourite GUI utilities, has a smooth _navigate-as-you-type_ mode with auto-select, disk usage analyzer mode, bookmarks, contexts, application launcher, familiar navigation shortcuts, subshell spawning, quick notes and much more.
Integrate utilities like sxiv (image preview) or fzy (fuzzy subtree search) easily, transfer selected files using lftp or use it as a (neo)vim plugin; `nnn` supports as many scripts as you need! Refer to the [How to](https://github.com/jarun/nnn/wiki/How-to) section on wiki for more details.
@@ -53,7 +53,7 @@ It runs on Linux, macOS, Raspberry Pi, BSD, Cygwin, Linux subsystem for Windows
- [Context-specific color](#context-specific-color)
- [Selection](#selection)
- [Filters](#filters)
- - [Navigate-as-you-type mode](#navigate-as-you-type-mode)
+ - [Navigate-as-you-type](#navigate-as-you-type)
- [File indicators](#file-indicators)
- [Utility dependencies](#utility-dependencies)
- [Help](#help)
@@ -317,7 +317,7 @@ To filter entries by substring match:
If `nnn` is invoked as root or the environment variable `NNN_SHOW_HIDDEN` is set the default filter will also match hidden files.
-#### Navigate-as-you-type mode
+#### Navigate-as-you-type
In this mode directories are opened in filter mode, allowing continuous navigation. Works best with the **arrow keys**.
diff --git a/nnn.1 b/nnn.1
index c444659..b126568 100644
--- a/nnn.1
+++ b/nnn.1
@@ -330,6 +330,11 @@ files.
.Bd -literal
export NNN_PLAIN_FILTER=1
.Ed
+.Pp
+\fBNNN_TMPFILE:\fR when cd on quit is pressed, the absolute path of the current open directory is written to this file. A wrapper script can read this file and cd into it once the program quits.
+.Bd -literal
+ export NNN_TMPFILE=/tmp/nnn
+.Ed
.Sh KNOWN ISSUES
If you are using urxvt you might have to set backspace key to DEC.
.Sh AUTHORS