Live data from Hacker News

Nerd Fonts

nerdfonts.com

11–20 of 22 posts

Re: Nerd Fonts

#11

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

you can use them on the terminal. there are projects like lsd[1] and vim-devicons[2] that use them.

[1] https://github.com/Peltoche/lsd [2] https://github.com/ryanoasis/vim-devicons

Re: Nerd Fonts

#12

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

In some languages like Hy you’re allowed to use any characters in names, and are encouraged to use one-letter names for so-called tag macros.

Re: Nerd Fonts

#13

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

Watch this 30 second video and you will see why it is awesome to have icons in your terminal.

https://www.youtube.com/watch?v=NESi45Q2mHg

Apologies in advance if the music is not to your taste.

Re: Nerd Fonts

#14

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

Watch this 30 second video and you will see why it is awesome to have icons in your terminal. https://www.youtube.com/watch?v=NESi45Q2mHg Apologies in advance if the music is not to your taste.

Video seemed to do the opposite effect to me. Information overload and clutter made me wonder what I was looking at. Plain old terminals without these special symbols convey a lot more meaning with a lot less.

Re: Nerd Fonts

#15

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

Personally I find the Powerline set of icons for git very useful in my status line. Sometimes, I get a phone call in the middle of a git bisect or "rebase -i" and the corresponding little icon is a great reminder to run a git status when I get back to the tab.

Re: Nerd Fonts

#16
By the way, for those on macOS, Apple recently introduced a huge set of icons/symbols that you can resize like any other font and use anywhere within text (in macOS) or images (iOS).

Just copy and paste the symbols like any other emoji, from the SF Symbols app:

https://developer.apple.com/design/human-interface-guideline...

Not only you can use them as is in your final app, these are absolutely great in UI mockups and even placeholder game sprites.

Re: Nerd Fonts

#17

I don’t understand at all. Can someone explain why you’d want icons in the monospace font you use for development? I thought those icons were mainly for building websites. But those are usually triggered with a CSS class, not embedded in source code. What am I missing?

When you are navigating directories (using NERDtree in vim) it is useful to have icons beside each file

Re: Nerd Fonts

#18

The definitive nerd font is Computer Modern[0], i think. Certainly it is true that i trust anything with lots of math in it more if it is typeset in CM. Problem sets feel downright homey after a while. [0] https://en.wikipedia.org/wiki/Computer_Modern

I've found source code sans to be an excellent font for LaTeX, and the companion source code pro for code blocks. They are significantly more readable to me and to most people I know, though that may have to do with screens being much higher-resolution than when computer modern was created. Here's my arm-chair hypothesis: the thin connecting lines (don't know the technical font term, though I'm sure one exists) showe…

Personally I prefer IBM Plex Mono and family. https://github.com/IBM/plex

Re: Nerd Fonts

#19

By the way, for those on macOS, Apple recently introduced a huge set of icons/symbols that you can resize like any other font and use anywhere within text (in macOS) or images (iOS). Just copy and paste the symbols like any other emoji, from the SF Symbols app: https://developer.apple.com/design/human-interface-guideline... Not only you can use them as is in your final app, these are absolutely great in UI mockups an…

I’m getting massive use out of Symbols in my Apple platform personal projects, where they’re already a huge time saver but I never thought to use them in this context. Great comment!

Re: Nerd Fonts

#20

By the way, for those on macOS, Apple recently introduced a huge set of icons/symbols that you can resize like any other font and use anywhere within text (in macOS) or images (iOS). Just copy and paste the symbols like any other emoji, from the SF Symbols app: https://developer.apple.com/design/human-interface-guideline... Not only you can use them as is in your final app, these are absolutely great in UI mockups an…

I’m getting massive use out of Symbols in my Apple platform personal projects, where they’re already a huge time saver but I never thought to use them in this context. Great comment!

It should look like this: 􀈂 􀈒 􀈖 􀈠

https://i.imgur.com/b1T6p9r.png

Of course they will appear like blank squares on most webpages and iOS, but you can copy those squares back to the symbols in native macOS text fields.

It's a little inconsistent; in iOS/tvOS/watchOS/Catalyst apps you have to use `Image(systemName:)` but it's not available on macOS, where you have to copy the symbols from the SF Symbols app into regular text, like emojis.

Apple, why?

Post reply on HN