NicolaiSoeborg / filemanager-plugin

A file manager plugin for the editor "Micro"
MIT License
228 stars 16 forks source link

[Feature request] Icons next to folder/file names #11

Open sum01 opened 7 years ago

sum01 commented 7 years ago

Stuff like vim-devicons or seti-icons would be cool to have.

edit: Seems that vim-devicons uses this as the source of the icons

tommyshem commented 7 years ago

Yes, it would be nice to have. I will look into it when I get time.

tommyshem commented 7 years ago

Looking into this and it looks like you would have to install a font with the devicons in the font set, like nerdfonts on your system to get this to work. As micro editor can only use one font from the terminal settings. If you have any different ideas please let me know.

sum01 commented 7 years ago

Either bundle the fonts & get the path to them using the configDir variable, or make an option that's false by default, which when enabled adds the icons to paths in scanDir

edit: Actually I guess it might be more complex than just adding them to the left on scanDir, since that list is directly read from to open files/dirs.