-
Notifications
You must be signed in to change notification settings - Fork 0
/
airline.vim
59 lines (53 loc) · 1.79 KB
/
airline.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
scriptencoding utf-8
"----------------------------------------------------------------------
" basic setup
"----------------------------------------------------------------------
let g:airline_powerline_fonts = 1
let g:airline_exclude_preview = 1
if has('gui_running')
let g:airline_theme = 'jet'
else
let g:airline_theme = 'fruit_punch'
endif
let g:airline#extensions#ycm#enabled = 1
"let g:airline_section_b = '%n'
"----------------------------------------------------------------------
" airline setup me
"----------------------------------------------------------------------
"function AirlineSetupMe(font)
" 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_powerline_fonts = 0
" let g:airline_exclude_preview = 1
" let g:airline_section_b = '%n'
" if a:font
" let g:airline_left_sep = "\ue0b0"
" let g:airline_left_alt_sep = "\ue0b1"
" let g:airline_right_sep = "\ue0b2"
" let g:airline_right_alt_sep = "\ue0b3"
" let g:airline_powerline_fonts = 1
" if !exists('g:airline_symbols')
" let g:airline_symbols = {}
" endif
" let g:airline_symbols.branch = "\ue0a0"
" let g:airline_symbols.readonly = "\ue0a2"
" let g:airline_symbols.linenr = "\u2630"
" let g:airline_symbols.maxlinenr = "\ue0a1"
" if has('win32') || has('win95') || has('win64') || has('win16')
" if has('gui_running') && &rop =~ 'directx'
" let g:airline_symbols.linenr = ''
" let g:airline_symbols.maxlinenr = ''
" endif
" endif
" endif
" let g:airline#extensions#branch#enabled = 0
" let g:airline#extensions#syntastic#enabled = 0
" let g:airline#extensions#fugitiveline#enabled = 0
" let g:airline#extensions#csv#enabled = 0
" let g:airline#extensions#vimagit#enabled = 0
"endfunc
"
"
"call AirlineSetupMe(get(g:, 'airline_font', 0))