source-code-pro icon indicating copy to clipboard operation
source-code-pro copied to clipboard

Include "CN" column number symbol

Open ogarcia opened this issue 2 years ago • 4 comments

If you use vim with airline and powerline enabled you need a "CN" symbol at U+E0A3 like the "LN" symbol.

Sample: https://github.com/ryanoasis/powerline-extra-symbols/blob/master/img/fontforge.png Code: https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt#L397

Could this be added to Source Code Pro?

ogarcia avatar May 23 '22 09:05 ogarcia

You don't "need" it. But, it is nice to have. Having said that, there is an option, at least with vim-airline to set the font face to be used in the powerline. So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Check out the documentation on vim-airline.

fourpastmidnight avatar May 23 '22 23:05 fourpastmidnight

[..] So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Yes, I know. Although it is not as you say, since vim (in console) can have only one active font. What you can do is to configure airline to use a different symbol for colnr.

ogarcia avatar May 24 '22 06:05 ogarcia

Did you check out the Nerd Font website? They take fonts and add the Powerline symbols to them. I prefer Microsoft's Cascadia Code, for example, and Nerd Font patched the font with the Powerline symbols and called it Kaskadia Cove.

I beleieve they've done the same with SourceCode Pro. Other fonts they've patched are FiraCode and Hasklig, among many others.

fourpastmidnight avatar May 24 '22 12:05 fourpastmidnight

@ogarcia I’ll add this in the next revision.

pauldhunt avatar May 25 '22 00:05 pauldhunt