I imagine the delay that the README for this project is referring to might be the same thing, so hopefully it can be alleviated with this same trick.
EDIT: Looks like the official Powerline docs share this little trick now: https://powerline.readthedocs.org/en/latest/tipstricks.html
"" airline settings
" remove separators
let g:airline_left_sep=''
let g:airline_right_sep=''
" remove unused modes
let g:airline_enable_fugitive=0
let g:airline_enable_syntastic=0
" set second section to filename
let g:airline_section_b="%f"
" empty third and fourth sections
let g:airline_section_c=""
let g:airline_section_x=""
" put filetype in fifth section
let g:airline_section_y="%Y"
curious to see how other people have theirs configured.my full vim config is on github [1].
While it's deprecated, the author is actively working on this: https://github.com/Lokaltog/powerline, which works well and has even more functionality.
I basically don't need to know which mode I'm in, either - if I somehow forget, or come back to vim after a while, I can just hit escape to reset its state.
set list
set listchars=tab:»·,trail:·
It will not give you a file-wide warning but it will make tabs stand out (along with trailing whitespace).Not much help if you actually want tabs, granted.
and then you can replace one of the airline sections with it.
Also: thanks for publishing this!
Looks great btw!