filemanager-plugin icon indicating copy to clipboard operation
filemanager-plugin copied to clipboard

[Feature request] Icons next to folder/file names

Open sum01 opened this issue 8 years ago • 3 comments
trafficstars

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

sum01 avatar Nov 12 '17 19:11 sum01

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

tommyshem avatar Nov 14 '17 00:11 tommyshem

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.

tommyshem avatar Nov 19 '17 23:11 tommyshem

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.

sum01 avatar Nov 20 '17 04:11 sum01