Vim/Airline
Set up
- (Install vim plugin manager e.g. vim plug)
-
Install vim-airline and themes
Plug ‘vim-airline/vim-airline’
Plug ‘vim-airline/vim-airline-themes’ -
Install powerline fonts: https://github.com/powerline/fonts#quick-installation
- Set your terminal font to be one of the powerline fonts.
-
Add the necessary configuration to
vimrc
orinit.vim
file. Typehelp airline
, go toairline-customization
and copy-paste thepowerline symbols
part.let g:airline_powerline_fonts = 1
if !exists(‘g:airline_symbols’)
let g:airline_symbols = {}
endif” powerline symbols (copy-paste from the airline help page)
let g:airline_left_sep = ‘’
let g:airline_left_alt_sep = ‘’
let g:airline_right_sep = ‘’
let g:airline_right_alt_sep = ‘’
let g:airline_symbols.branch = ‘’
let g:airline_symbols.readonly = ‘’
let g:airline_symbols.linenr = ‘☰’
let g:airline_symbols.maxlinenr = ‘’” theme (choose a theme from airline-themes) let g:airline_theme=’luna’