Display Powerline sources in VIM over terminal / (terminator) Linux

1

Hi, I would like to know what configuration I should add to /.vimrc so that the Powerline sources work correctly in Vim, from the terminal. My configuration is this and I would prefer it to look like the second image.

execute pathogen#infect()
syntax on
filetype plugin indent on

set wrap
set mouse=a
set number

let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#show_buffers = 0
let g:airline#extensions#tabline#show_tabs = 1

set encoding=utf-8

set guifont=ProFont\ for\ Powerline:h12
let g:Powerline_symbols = 'fancy'
set encoding=utf-8
set t_Co=256
set fillchars+=stl:\ ,stlnc:\
set term=xterm-256color
set termencoding=utf-8

I already have the Powerline fonts, add them to the cache, but it still looks like this

I would prefer these symbols to be seen.

Any suggestions?

    
asked by Mauricio Torres 27.01.2018 в 00:34
source

1 answer

1

As I mentioned @PanchoJay in your answer. In the end I was able to resolve the configuration of Powerline sources in VIM with Terminator without configuring the sources in the configuration of ~ / .vimrc with this configuration:

execute pathogen#infect()
syntax on
filetype plugin indent on

set encoding=utf-8
set wrap
set mouse=a
set number

let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#show_buffers = 1
let g:airline#extensions#tabline#show_tabs = 1

let g:airline_powerline_fonts=1

" Always show statusline
set laststatus=2

I should have closed VIM and reloaded the Powerline source from Terminator. Thanks.

    
answered by 27.01.2018 / 06:53
source