mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-27 16:04:39 +02:00
Updated Dummies Guide to Powerline fonts on Fedora, Ubuntu and Windows (markdown)
parent
c9719bd219
commit
0717f1b15d
@ -4,8 +4,10 @@ The first is figuring out what the hell are those strange but nice angle bracket
|
|||||||
|
|
||||||
Then even if you do manage to get one installed they look uglier than you'd hope because the fonts don't fully work.
|
Then even if you do manage to get one installed they look uglier than you'd hope because the fonts don't fully work.
|
||||||
|
|
||||||
|
So what we're doing is installing some custom fonts that have specific UTF-8 characters and then specifying those characters in the status bar.
|
||||||
|
|
||||||
## Configuring Vim
|
## Configuring Vim
|
||||||
This is opposite to the [official instructions][1] but I had this bit wrong at the end which made me question all the font installations. So I suggest you get this configured first and then if you get the fonts working it should magically appear.
|
This is opposite to the [official instructions][1] but my `.vimrc` configuration following those instructions didn't work at the end which made me question all the font installations. So I suggest you get this configured first and then if you get the fonts working it should magically appear.
|
||||||
|
|
||||||
The final trick was forcing vim-airline to use the fonts it needs. In the [official documentation][1] it should just be adding `let g:airline_powerline_fonts = 1` in your `.vimrc`. However I did this and no luck. There's more information in `:help airline-customization` and that gives you some simple config settings that you need, just in case. This was the final magic sauce that I needed. I don't know why this wasn't automatically created. This is also mentioned in this [Vi Stack Exchange answer][2].
|
The final trick was forcing vim-airline to use the fonts it needs. In the [official documentation][1] it should just be adding `let g:airline_powerline_fonts = 1` in your `.vimrc`. However I did this and no luck. There's more information in `:help airline-customization` and that gives you some simple config settings that you need, just in case. This was the final magic sauce that I needed. I don't know why this wasn't automatically created. This is also mentioned in this [Vi Stack Exchange answer][2].
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ The final trick was forcing vim-airline to use the fonts it needs. In the [offic
|
|||||||
let g:airline_symbols.maxlinenr = ''
|
let g:airline_symbols.maxlinenr = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
## Kitchen sinking it on Fedora and Ubuntu
|
## Kitchen sinking the fonts on Fedora and Ubuntu
|
||||||
|
|
||||||
This is probably an overkill solution, but first you need to get it consistently working before you can simplify it.
|
This is probably an overkill solution, but first you need to get it consistently working before you can simplify it.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user