]> Sergey Matveev's repositories - nnn.git/commitdiff
Update docs
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 6 Oct 2019 14:22:30 +0000 (19:52 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 6 Oct 2019 14:22:30 +0000 (19:52 +0530)
README.md
nnn.1

index 3e1e552d47caaaa9fffed52479d6b54f2d39f1a3..9fa39fd1c75562955c18a5adc08fef657537ae36 100644 (file)
--- a/README.md
+++ b/README.md
@@ -255,8 +255,10 @@ When the filter is on, <kbd>/</kbd> works as an additional Leader key.
     $ man nnn
 To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
 
-## Mentions
+## Elsewhere
 
+- [Wikipedia](https://en.wikipedia.org/wiki/Nnn_(file_manager))
+- [ArchWiki](https://wiki.archlinux.org/index.php/Nnn)
 - [FOSSMint](https://www.fossmint.com/nnn-linux-terminal-file-browser/)
 - Hacker News [[1](https://news.ycombinator.com/item?id=18520898)] [[2](https://news.ycombinator.com/item?id=19850656)]
 - [It's FOSS](https://itsfoss.com/nnn-file-browser-linux/)
diff --git a/nnn.1 b/nnn.1
index fe398846245205227de0cc6b467af1e65293f86e..8531255a4b8180a4334c236db8ba057285a05f2e 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -133,24 +133,19 @@ When there's a unique match and it's a directory,
 .Nm
 auto selects the directory and enters it in this mode.
 .Sh SELECTION
-Use \fI^J\fR to select the file under the cursor.
+There are 3 groups of shortcuts to add files to selection:
 .Pp
-To select multiple files press \fI^S\fR and enter selection mode.
-In this mode it's possible to
-.Pp
-(1) cherry-pick individual files one by one by pressing \fI^J\fR on each entry (works across directories and contexts); or,
+(1) add an individual file to selection
 .br
-(2) navigate to another file in the same directory to select a range of files.
-.Pp
-Running any operation that uses the selection OR pressing \fI^S\fR again will save the selection and exit the selection mode.
-.Pp
-Press \fI^S\fR twice to clear selection.
+(2) add a range of files to selection
+.br
+(3) add all files in the current directory to selection
 .Pp
-Selected files are visually indicated by a \fI+\fR before the entries.
+Repeat range selection on the same entry to clear selection. Selected files are visually indicated by a \fI+\fR before the entries.
 .br
-The files in the list can now be listed, copied, moved, removed, archived or linked.
+The selection can now be listed, copied, moved, removed, archived or linked.
 .br
-Absolute paths of the selected files are copied to the temporary file \fB.selection\fR in config directory. The path is shown in the help and configuration screen. If \fB$NNN_COPIER\fR is set (see ENVIRONMENT section below) the file paths are also copied to the system clipboard.
+Absolute paths of the selected files are copied to the temporary file \fB.selection\fR in the config directory. The path is shown in the help and configuration screen. If \fB$NNN_COPIER\fR is set (see ENVIRONMENT section below) the file paths are also copied to the system clipboard.
 .Sh ENVIRONMENT
 The SHELL, EDITOR (VISUAL, if defined) and PAGER environment variables take precedence
 when dealing with the !, e and p commands respectively. A single combination to arguments is supported for SHELL and PAGER.
@@ -203,6 +198,8 @@ when dealing with the !, e and p commands respectively. A single combination to
 .Bd -literal
     export NNN_TRASH=1
 .Ed
+.Pp
+\fBNN:\fR this is a special variable set to the current entry before executing a command from the command prompt or spawning a shell.
 .Sh KNOWN ISSUES
 .Nm
 may not handle keypresses correctly when used with tmux (see issue #104 for more details). Set \fBTERM=xterm-256color\fR to address it.