" Install both plugins at the same timePlug'vim-airline/vim-airline' | Plug'vim-airline/vim-airline-themes'
Execute :source ~/.vimrc in Vim to reload the config file.
Execute :PlugInstall to install the Airline and Airline Themes plugins.
Add the following setting to .vimrc to make Airline effective.
setlaststatus=2 " Always show status bar" Airlineletg:airline#extensions#tabline#enabled=1 " enable tab bar
Reload the config file to make it work, if that doesn't work try restarting Vim
You should now see a status bar displayed underneath Vim, displaying information that typically includes Current Mode, Current File, File Type, File Encoding, and Current Column.
Since we also have the Airline Themes plugin installed, we can set the Airline style as follows.
Execute :AirlineTheme simple to apply the simple style, or modify the .vimrc file to add a file like The following configuration:
Airline Themes contains a large number of styles, which can be found in the project's Styles folder The styles listed there can be applied.
For more details and renderings, please refer to the project address.