mirror of
https://github.com/jarun/nnn.git
synced 2024-11-30 14:51:28 +00:00
Updated Usage (markdown)
parent
92841ad380
commit
d7621b0784
6
Usage.md
6
Usage.md
|
@ -79,7 +79,7 @@ There is no config file. Associated files are at
|
|||
| `NNN_BMS='d:~/Documents;D:~/Docs archive/'` <sup>1</sup> | key-bookmark pairs |
|
||||
| `NNN_PLUG='o:fzopen;m:nmount;x:_chmod +x $nnn'` <sup>1</sup> | key-plugin (or cmd) pairs |
|
||||
| `NNN_ARCHIVE="\\.(7z\|bz2\|gz\|tar\|tgz\|zip)$"` <sup>2</sup> | archives [default: bzip2, (g)zip, tar]
|
||||
| `NNN_COLORS='1234'` (or `'#0a1b2c3d'`) <sup>3</sup> <sup>4</sup>| context colors [default: '4444' (blue)] |
|
||||
| `NNN_COLORS='1234'` (/`'#0a1b2c3d'`/`'#0a1b2c3d;1234'`) <sup>3</sup> <sup>4</sup>| context colors [default: '4444' (blue)] |
|
||||
| `NNN_SSHFS='sshfs -o reconnect,idmap=user'` <sup>3</sup> | custom SSHFS cmd |
|
||||
| `NNN_RCLONE='rclone mount --read-only'` <sup>3</sup> | 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`.
|
||||
|
|
Loading…
Reference in a new issue