blob: 34e07e6d6e6d12c46f48d98e1b3680288ce6aaad [file] [log] [blame]
Skyler Greya7feb6e2022-08-26 06:51:55 +01001set statusline=%t "tail of the filename
2 set statusline+=[%{strlen(&fenc)?&fenc:'none'}, "file encoding
3 set statusline+=%{&ff}] "file format
4 set statusline+=%h "help file flag
5 set statusline+=%m "modified flag
6 set statusline+=%r "read only flag
7 set statusline+=%y "filetype
8 set statusline+=%= "left/right separator
9 set statusline+=%c, "cursor column
10 set statusline+=%l/%L "cursor line/total lines
11 set statusline+=\ %P "percent through file
12" TODO: Check if this is actually used with airline
13
14let g:airline#extensions#hunks#coc_git = 1
15let g:airline#extensions#whitespace#enabled = 1
16let g:airline#parts#ffenc#skip_expected_string='utf-8[unix]'
17let g:airline_skip_empty_sections = 1