Open justmytwospence opened 8 years ago
I had the same thoughts. I'm sure I will think of something. :-)
I have this in my .spacemacs
;; fancy git icon
(defadvice vc-mode-line (after strip-backend () activate)
(when (stringp vc-mode)
(let ((gitlogo (replace-regexp-in-string "^ Git." " " vc-mode)))
(setq vc-mode gitlogo))))
@joehillen What font are you using to display that PUA codepoint?
@joehillen Found it, not surprisingly Font Awesome. But I am confused about how to set the font in Emacs to make it work.
You can specify the font as a face attribute. http://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
(propertize "weird string" 'face '((:family "whatever")))
Or something along those lines.
We can also sidestep the font issue by outputting XPM images, like the powerline separators.
joehillen
's patch works great for me !
On MacOSX ElCapitan, just download the font and double click the .ttf
file, then install.
@theBB so what did you decide since then regarding this issue?
Many folks only use one version control backend. Would there be interest in making a setting that allows you to disabled the
Git:
or whatever backend in the vc segment? Or maybe even replace it with that nice little unicode branchy symbol or something.