1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-26 09:52:12 +03:00

Updated Usage (markdown)

Jana 2020-08-06 11:27:55 +05:30
parent a16a260268
commit e08120a6e6

@ -98,11 +98,9 @@ There is no config file. Associated files are at
`bsdtar` can extract, list and `archivemount` can mount ISO 9660 cdrom images (extn: iso). `bsdtar` can extract, list and `archivemount` can mount ISO 9660 cdrom images (extn: iso).
3. Understands 8 color, xterm 256 color or both. 3. Understands 8 color, xterm 256 color or both.
8 colors codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white. - 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 (2 symbols per context).
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 (2 symbols per context). - To specify both, export 256 color code followed by 8 color code as fallback, separated by `;`.
To specify both, export 256 color code followed by 8 color code as fallback, separated by `;`.
4. Specify file-specific colors with xterm 256 color codes (2 hex symbols per color). 4. 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 ([color listing](https://jonasjacek.github.io/colors/)): Order is strict, use `00` to omit/use default terminal color. Defaults ([color listing](https://jonasjacek.github.io/colors/)):
@ -122,11 +120,9 @@ There is no config file. Associated files are at
| Socket | `ab` | MediumOrchid1 | | Socket | `ab` | MediumOrchid1 |
| Unknown OR 0B regular/exe | `c4` | Red1 | | Unknown OR 0B regular/exe | `c4` | Red1 |
If the terminal supports xterm 256 colors or more, file-specific colors will be rendered. - 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`.
To force the earlier colorscheme (dirs follow context color) use option `-C`. - If xterm 256 colors aren't supported, earlier colorscheme will be used.
If xterm 256 colors aren't supported, earlier colorscheme will be used.
5. `nnn` v2.9 and below have `NNN_CONTEXT_COLORS`, `NNN_SSHFS_OPTS` and `NNN_RCLONE_OPTS`. 5. `nnn` v2.9 and below have `NNN_CONTEXT_COLORS`, `NNN_SSHFS_OPTS` and `NNN_RCLONE_OPTS`.
6. If the FIFO file doesn't exist it will be created, but it will never be removed. 6. If the FIFO file doesn't exist it will be created, but it will never be removed.
7. Only the first character is considered if _not_ a `Ctrl-key` combo. 7. Only the first character is considered if _not_ a `Ctrl-key` combo.