Skip to content

Icon support #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 27, 2023
Merged

Icon support #24

merged 5 commits into from
Feb 27, 2023

Conversation

solidiquis
Copy link
Owner

@solidiquis solidiquis commented Feb 27, 2023

Screen Shot 2023-02-27 at 8 56 03 AM

Highlights

  • Added support for the display of glyphs/icons based on file extensions, special file names (e.g. .Trash, .gitignore, etc.), and a limited subset of file types.
  • Icons are enabled with the --icons flag similar to how exa does it.
  • Some icons were sourced from exa and others along from nvim-web-devicons.
  • A color palette for icons of files with common extensions was also sourced from nvim-web-devicons; for icons of files not falling under this category said icons will be styled based on the LS_COLORS configuration of its associated file.

Important

In order for glyphs/icons to display properly your terminal emulator must be configured to use a font that actually contains the glyphs/icons. For a comprehensive list of fonts that's incredibly likely to contain all of the relevant fonts/glyphs, checkout the Nerd Fonts Project.

I personally use Sauce Code Pro

@solidiquis solidiquis changed the title preliminary icon support Icon support Feb 27, 2023
@solidiquis solidiquis merged commit 6107d3d into master Feb 27, 2023
@solidiquis solidiquis deleted the icons branch March 6, 2023 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant