commit e44f8d3fccf16103a5b546a8c888ea799735ed4d
parent fe0608116ab1a602aee2827df63419d477cab1e0
Author: Arun <engineerarun@gmail.com>
Date: Sat, 25 Dec 2021 08:17:45 +0530
Merge pull request #1270 from N-R-K/doc_improvement
Make the manpage more clear
Diffstat:
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/nnn.1 b/nnn.1
@@ -23,7 +23,7 @@ is a performance-optimized, feature-packed fork of noice
.Em http://git.2f30.org/noice/
with seamless desktop integration, simplified navigation,
.Em type-to-nav
-mode with auto select, disk usage analyzer mode, bookmarks,
+mode with dir auto-enter, disk usage analyzer mode, bookmarks,
contexts, application launcher, familiar navigation shortcuts,
subshell spawning and much more. It remains a simple and
efficient file manager that stays out of your way.
@@ -48,7 +48,7 @@ supports the following options:
auto-setup temporary NNN_FIFO (described in ENVIRONMENT section)
.Pp
.Fl A
- disable directory auto-select in type-to-nav mode
+ disable directory auto-enter in type-to-nav mode
.Pp
.Fl "b key"
specify bookmark key to open
@@ -88,7 +88,8 @@ supports the following options:
show current file information in info bar (may be slow)
.Pp
.Fl J
- disable auto-proceed on select
+ disable auto-proceed on selection
+ (eg. selecting an entry will no longer move cursor to the next entry)
.Pp
.Fl K
test for keybind collision
@@ -113,10 +114,11 @@ supports the following options:
.Pp
.Fl r
show cp, mv progress
- (Linux-only, needs advcpmv; '^T' shows the progress on BSD/macOS)
+ (Linux-only, needs \fIadvcpmv\fR; '^T' shows the progress on BSD/macOS)
.Pp
.Fl R
- disable rollover at edges
+ disable rollover at edges (eg. pressing \fIdown\fR while on the last
+ entry will no longer move cursor to the first entry and vice\-versa)
.Pp
.Fl "s name"
load a session by name
@@ -142,8 +144,8 @@ supports the following options:
show version and exit
.Pp
.Fl x
- show notis on selection cp, mv, rm completion
- copy path to system clipboard on select
+ show notifications on selection cp, mv, rm completion (requires \fI.ntfy\fR plugin)
+ copy path to system clipboard on selection (requires \fI.cbcp\fR plugin)
show xterm title (if non-picker mode)
.Pp
.Fl h
@@ -233,7 +235,7 @@ in \fBtype-to-nav\fR mode:
Key | Function
------ + ------------------------
' | Go to first non-dir file
- + | Toggle auto-advance
+ + | Toggle auto-proceed on open
, | Mark CWD
- | Go to last visited dir
. | Show hidden files
@@ -263,8 +265,8 @@ mode, allowing continuous navigation.
.br
When there's a unique match and it's a directory,
.Nm
-auto selects the directory and enters it in this mode. Use the relevant
-program option to disable this behaviour.
+auto enters it in this mode. Use the relevant program option to disable this
+behaviour.
.Sh SELECTION
.Nm
allows file selection across directories and contexts!
diff --git a/src/nnn.c b/src/nnn.c
@@ -8112,7 +8112,7 @@ static void usage(void)
#ifndef NOFIFO
" -a auto NNN_FIFO\n"
#endif
- " -A no dir auto-enter\n"
+ " -A no dir auto-enter in type-to-nav\n"
" -b key open bookmark key (trumps -s/S)\n"
" -c cli-only NNN_OPENER (trumps -e)\n"
" -C 8-color scheme\n"