1
1
mirror of https://github.com/jarun/nnn.git synced 2024-10-26 14:28:31 +03:00

Updated Advanced use cases (markdown)

Mischievous Meerkat 2020-11-12 07:27:59 +05:30
parent 2d2c942a07
commit cf8afd3901

@ -1,6 +1,10 @@
## File icons
`nnn` supports mutliple ways to show icons. They are turned off by default and are not provided in the default distribution to avoid shipping third party resources. Currently we support [icons-in-terminal](https://github.com/sebastiencs/icons-in-terminal) for those wishing to use icons alongside a normal code font. Alternatively, you can utilize Nerdfont's patched fonts to add icons to the font itself. The later is more common for Vim users who need fonts for various powerline plugins. Regardless of the method, each method will produce similar experiences within nnn. You will need to recompile nnn rather than use the default release in both cases.
`nnn` supports mutliple ways to show icons. They are turned off by default and are not provided in the default distribution to avoid shipping third party resources. Currently we support [icons-in-terminal](https://github.com/sebastiencs/icons-in-terminal) for those wishing to use icons alongside a normal code font. Alternatively, you can utilize Nerdfont's patched fonts to add icons to the font itself. The later is more common for Vim users who need fonts for various powerline plugins. Regardless of the method, each method will produce similar experiences within nnn.
You will need to recompile nnn rather than use the default release in both cases. Or you can grab one of the icon-enabled static binaries auto-generated at each release.
Note that your `$TERM` must support 256 colors for the icons to show.
### To enable icons-in-terminal icons