From d7621b0784d049cab086c74e6d94a21c58e4a430 Mon Sep 17 00:00:00 2001 From: Jana Date: Sun, 2 Aug 2020 16:17:15 +0530 Subject: [PATCH] Updated Usage (markdown) --- Usage.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Usage.md b/Usage.md index 58862c0..2f94125 100644 --- a/Usage.md +++ b/Usage.md @@ -79,7 +79,7 @@ There is no config file. Associated files are at | `NNN_BMS='d:~/Documents;D:~/Docs archive/'` 1 | key-bookmark pairs | | `NNN_PLUG='o:fzopen;m:nmount;x:_chmod +x $nnn'` 1 | key-plugin (or cmd) pairs | | `NNN_ARCHIVE="\\.(7z\|bz2\|gz\|tar\|tgz\|zip)$"` 2 | archives [default: bzip2, (g)zip, tar] -| `NNN_COLORS='1234'` (or `'#0a1b2c3d'`) 3 4| context colors [default: '4444' (blue)] | +| `NNN_COLORS='1234'` (/`'#0a1b2c3d'`/`'#0a1b2c3d;1234'`) 3 4| context colors [default: '4444' (blue)] | | `NNN_SSHFS='sshfs -o reconnect,idmap=user'` 3 | custom SSHFS cmd | | `NNN_RCLONE='rclone mount --read-only'` 3 | custom rclone cmd | | `NNN_TRASH=1` | use desktop Trash [default: delete] | @@ -97,8 +97,10 @@ There is no config file. Associated files are at `bsdtar` can extract, list and `archivemount` can mount ISO 9660 cdrom images (extn: iso). 3. `nnn` v2.9 and below have `NNN_CONTEXT_COLORS`, `NNN_SSHFS_OPTS` and `NNN_RCLONE_OPTS`. 4. 8 colors codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white. - + To specify [xterm 256 color codes](https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg), prefix with `#` and use the hex values. + + To specify both, export 256 color code followed by 8 color code as fallback, separated by ';'. 5. If the FIFO file doesn't exist it will be created, but it will never be removed. 6. Only the first character is considered if _not_ a `Ctrl-key` combo. 7. Overridden by `NNN_COLORS`.