Update README

Update documentation
This commit is contained in:
Arun Prakash Jana 2017-12-26 10:04:10 +05:30
parent fdc53037f9
commit 8b51a8a054
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 12 additions and 11 deletions

View file

@ -129,7 +129,7 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i
4949 vaio 20 0 17520 4224 2584 S 0.0 0.1 0:00.54 nnn -S / 4949 vaio 20 0 17520 4224 2584 S 0.0 0.1 0:00.54 nnn -S /
``` ```
`nnn` vs. mc vs. ranger memory usage while viewing a directory with 13790 files, sorted by size: `nnn` vs. midnight commander vs. ranger memory usage while viewing a directory with 13790 files, sorted by size:
``` ```
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
@ -256,9 +256,14 @@ Help & settings, file details, media info and archive listing are shown in the P
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory. Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
There are 3 ways to reset a filter: <kbd>^L</kbd>, a search with no matches or an extra backspace at the filter prompt (like vi). There are 3 ways to reset a filter:
- pressing <kbd>^L</kbd>
- a search with no matches
- an extra backspace at the filter prompt (like vi)
Common examples: If you want to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol. Type `\.mkv` to list all MKV files. Common use cases:
- to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol
- type `\.mkv` to list all MKV files
If `nnn` is invoked as root the default filter will also match hidden files. If `nnn` is invoked as root the default filter will also match hidden files.

12
nnn.1
View file

@ -171,15 +171,11 @@ instructions.
Filters support regexes to instantly (search-as-you-type) list the matching Filters support regexes to instantly (search-as-you-type) list the matching
entries in the current directory. entries in the current directory.
.Pp .Pp
There are 3 ways to reset a filter: \fI^L\fR, a search with no matches or an There are 3 ways to reset a filter: (1) pressing \fI^L\fR, (2) a search with no matches or
extra backspace at the filter prompt (like vi). (3) an extra backspace at the filter prompt (like vi).
.Pp .Pp
Common examples: If you want to list all matches starting with the filter Common use cases: (1) To list all matches starting with the filter expression,
expression, start the expression with a start the expression with a '^' (caret) symbol. (2) Type '\\.mkv' to list all MKV files.
.Pa ^
(caret) symbol. Type
.Pa \.mkv
to list all MKV files.
.Pp .Pp
If If
.Nm .Nm