commit 7dbf1ca3b7b53bf72c6dc6d9a4959ac53fb791b6
parent 75c34d5f68efedd3cccc1712a56bb3276c90b708
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 6 Aug 2020 08:56:33 +0530
Update docs
Diffstat:
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -30,8 +30,8 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- Instantly load, sort, filter thousands of files
- Type to navigate with automatic dir selection
-- Never lose context - start where you quit
- find/fd/grep/ripgrep/fzf from `nnn` and list in `nnn`
+- Never lose context - start where you quit
- Mount any cloud storage service in a few keypresses
- Select files from anywhere (not just a single dir)
- Unlimited bookmarks, plugins, cmds with custom hotkeys
@@ -111,7 +111,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- FreeDesktop compliant trash (needs trash-cli)
- Cross-dir file/all/range selection
- Batch renamer for selection or dir
- - Display a list of files from stdin
+ - Display file list from stdin or plugin
- Copy (as), move (as), delete, archive, link selection
- Dir updates, notification on cp, mv, rm completion
- Copy file paths to system clipboard on select
diff --git a/nnn.1 b/nnn.1
@@ -72,7 +72,7 @@ supports the following options:
indicates that the opener is a cli-only opener (overrides -e)
.Pp
.Fl C
- color directories by context, disable file colors
+ earlier colorscheme - color directories by context, disable file colors
.Pp
.Fl d
detail mode
@@ -428,9 +428,9 @@ separated by \fI;\fR:
.Pp
\fBNNN_FCOLORS:\fR specify file-type specific colors:
.Bd -literal
- export NNN_FCOLORS='c1e2272e006033f9c6d6abc4'
+ export NNN_FCOLORS='c1e2272e006033f7c6d6abc4'
- Redefine default file specific colors with xterm 256 color codes (2 hex symbols per color).
+ Specify file-specific colors with xterm 256 color codes (2 hex symbols per color).
Order is strict, use 00 to omit/use default terminal color. Defaults:
------------------------- + --- + -------------
@@ -449,6 +449,10 @@ separated by \fI;\fR:
Socket | ab | MediumOrchid1
Unknown OR 0B regular/exe | c4 | Red1
------------------------- + --- + -------------
+
+ If the terminal supports xterm 256 colors or more, file-specific colors will be rendered.
+ To force the earlier colorscheme (dirs follow context color) use option -C.
+ If xterm 256 colors aren't supported, earlier colorscheme will be used.
.Ed
.Pp
\fBNNN_ARCHIVE:\fR archive types to be handled silently (default: bzip2, (g)zip, tar).
diff --git a/src/nnn.c b/src/nnn.c
@@ -7101,7 +7101,7 @@ static void usage(void)
" -A no dir auto-select\n"
" -b key open bookmark key (trumps -s/S)\n"
" -c cli-only NNN_OPENER (trumps -e)\n"
- " -C color by context\n"
+ " -C earlier colorscheme\n"
" -d detail mode\n"
" -e text in $VISUAL/$EDITOR/vi\n"
" -E use EDITOR for undetached edits\n"