main: support for Vims terminal mode
main: support for Vims terminal mode

Currently this is a hack, to get terminal mode from Vim.

However there is no better solution yet, since the API is not stable
here. Until then, just use the hack with
index(term_list(), bufnr('')) > -1

rchicoli/vim-airline,bling/vim-airline,tschundler/dotfiles,unphased/vim-airline,chrisbra/vim-airline,yzhou61/vim-airline,tschundler/dotfiles,tschundler/dotfiles