mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-23 14:04:53 +02:00
Updated FAQ (markdown)
parent
a8c48d32dd
commit
ff89eb606f
26
FAQ.md
26
FAQ.md
@ -1,4 +1,4 @@
|
||||
### The powerline font symbols are not showing up
|
||||
#### 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.
|
||||
|
||||
@ -6,7 +6,7 @@ Also, the older deprecated [vim-powerline][a] uses different font codes compared
|
||||
|
||||
If you are using rxvt-unicode, try using an odd font size, 11, 13, 15 etc. in your .Xdefaults
|
||||
|
||||
### The powerline font symbols are partially messed up.
|
||||
#### 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:
|
||||
|
||||
@ -15,47 +15,47 @@ You are likely using the [fontconfig](https://powerline.readthedocs.org/en/lates
|
||||
endif
|
||||
let g:airline_symbols.space = "\ua0"
|
||||
|
||||
### There is a pause when leaving insert mode
|
||||
#### There is a pause when leaving insert mode
|
||||
|
||||
You need to set `ttimeoutlen` to a low number; 50 is recommended.
|
||||
|
||||
### There is a pause when entering insert mode
|
||||
#### There is a pause when entering insert mode
|
||||
|
||||
You are running an older version of Vim 7.3, try updating to a newer version.
|
||||
|
||||
### You don't see any colors
|
||||
#### You don't see any colors
|
||||
|
||||
All of the themes use a 256 terminal color palette. It's likely that the value of `t_Co` is misconfigured. please see this [article][n] on how to configure your terminal. Pull requests for 8 and 16 color terminals are welcome.
|
||||
|
||||
### The colors look a little off for some themes.
|
||||
#### The colors look a little off for some themes.
|
||||
|
||||
Certain themes are derived from the active colorscheme by extracting colors from predefined highlight groups. These airline themes will look good for their intended matching colorschemes, but will be hit or miss when loaded with other colorschemes.
|
||||
|
||||
### You do not see the current Git branch
|
||||
#### You do not see the current Git branch
|
||||
|
||||
You are probably using version 1.2, which is very old. vim-airline relies on a `fugitive#head()` function. Download v2 from the [project page][d].
|
||||
|
||||
### vim-airline doesn't appear until I create a new split
|
||||
#### vim-airline doesn't appear until I create a new split
|
||||
|
||||
Add `set laststatus=2` to your vimrc.
|
||||
|
||||
### vim-bufferline is printing to the statusline as well as the command bar
|
||||
#### vim-bufferline is printing to the statusline as well as the command bar
|
||||
|
||||
You can disable automatic echoing by adding `let g:bufferline_echo = 0` to your vimrc.
|
||||
|
||||
### The statusline wraps
|
||||
#### The statusline wraps
|
||||
|
||||
You are probably using iTerm with double-width characters enabled. Either disable this, or `set ambiwidth=double` in your vimrc.
|
||||
|
||||
### How do i get rid of the default mode indicator?
|
||||
#### How do i get rid of the default mode indicator?
|
||||
|
||||
Add `set noshowmode` to your vimrc.
|
||||
|
||||
### The completion popup is broken/blank when preview is enabled with vim-airline
|
||||
#### The completion popup is broken/blank when preview is enabled with vim-airline
|
||||
|
||||
For more details see this [issue](https://github.com/bling/vim-airline/issues/78). This appears to depend on the version of Vim installed. Upgrade to the newest version available.
|
||||
|
||||
### You see things like `^^^^^` in the statusline.
|
||||
#### You see things like `^^^^^` in the statusline.
|
||||
|
||||
Try adding `set fillchars+=stl:\ ,stlnc:\ ` to your vimrc. Also, make sure you're using a colorscheme that has different `StatusLine` and `StatusLineNC` highlight groups.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user