mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-24 14:35:32 +02:00
Updated FAQ (markdown)
parent
579ce92f7f
commit
fa78519bc5
21
FAQ.md
21
FAQ.md
@ -1,8 +1,7 @@
|
||||
- [I have a performance problem....](#i-have-a-performance-problem)
|
||||
- [A symbol in the statusline looks is overdrawn or too crammed](#a-symbol-in-the-statusline-looks-is-overdrawn-or-too-crammed)
|
||||
- [A symbol in the statusline looks is overdrawn or too crammed](#a-symbol-in-the-statusline-looks-is-overdrawn)
|
||||
- [The powerline font symbols are not showing up](#the-powerline-font-symbols-are-not-showing-up)
|
||||
- [The Themes are missing.](#the-themes-are-missing)
|
||||
- [The powerline font symbols are partially messed up](#the-powerline-font-symbols-are-partially-messed-up)
|
||||
- [The powerline font is not perfectly lined up, or there a bit of whitespace in between symbols, or they are cut off](#the-powerline-font-is-not-perfectly-lined-up-or-there-a-bit-of-whitespace-in-between-symbols-or-they-are-cut-off)
|
||||
- [There is a pause when leaving insert mode](#there-is-a-pause-when-leaving-insert-mode)
|
||||
- [There is a pause when entering insert mode](#there-is-a-pause-when-entering-insert-mode)
|
||||
@ -42,7 +41,7 @@ Starting with revision [725e881a](https://github.com/vim-airline/vim-airline/com
|
||||
|
||||
If you still encounter performance issues, provide some profiling information, see issue [1026](https://github.com/vim-airline/vim-airline/issues/1026)
|
||||
|
||||
# A symbol in the statusline looks is overdrawn or too crammed
|
||||
# A symbol in the statusline looks is overdrawn
|
||||
|
||||
This is typically an issue with your terminal which does not correctly draw the symbol. You can configure other symbols, please check the [Documentation](https://github.com/vim-airline/vim-airline/blob/ebb89a0846ff8b8bc64579155d661b825f97d3f2/doc/airline.txt#L369-L389). You can check how it looks like in your terminal using the following command:
|
||||
```vim
|
||||
@ -57,6 +56,13 @@ If any of the symbols does not look right, you can configure it in your `.vimrc`
|
||||
let g:airline_symbols.colnr = ' ℅:'
|
||||
```
|
||||
|
||||
Another cause can be using the [fontconfig](https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation) method. If that is the case, you need to override the space character like so:
|
||||
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
let g:airline_symbols.space = "\ua0"
|
||||
|
||||
# The powerline font symbols are not showing up
|
||||
|
||||
Adding `let g:airline_powerline_fonts = 1` to your vimrc will automatically populate the `g:airline_symbols` dictionary with the proper font glyphs for various symbols.
|
||||
@ -86,15 +92,6 @@ Plugin 'vim-airline/vim-airline-themes'
|
||||
|
||||
See https://github.com/vim-airline/vim-airline-themes for more.
|
||||
|
||||
# The powerline font symbols are partially messed up
|
||||
|
||||
You are likely using the [fontconfig](https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation) method. If that is the case, you need to override the space character like so:
|
||||
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
let g:airline_symbols.space = "\ua0"
|
||||
|
||||
# The powerline font is not perfectly lined up or there a bit of whitespace in between symbols, or they are cut off
|
||||
|
||||
This is a complicated issue with no easy solution. Depending on the operating system, the font you have installed, the font you have patched, how the font was patched, terminal vs GUI, which terminal emulator itself (and how the emulator is configured), what font size, all have an effect on how the font turns on.
|
||||
|
Loading…
x
Reference in New Issue
Block a user