Comment on page
Airline & Themes
Airline displays a more user-friendly status bar in Vim, and with a nice color scheme, it's a lot more fun to work with.
- Airline https://github.com/vim-airline/vim-airline
- Airline Themes https://github.com/vim-airline/vim-airline-themes
" Install both plugins at the same time
Plug 'vim-airline/vim-airline' | Plug 'vim-airline/vim-airline-themes'
:source ~/.vimrcin Vim to reload the config file.Execute
:PlugInstallto install the Airline and Aairline Themes plugins.Add the following setting to
.vimrcto make Airline effective.
``vim set laststatus=2 " Always show status bar
" Airline let g: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 will typically contain **Current Mode**, **Current File**, **Current File**, **Current File**, **Current File**, and **Current File**.
**Current File**, **File Type**, **File Encoding**, and **Current Column Information**.
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: