+OK
  • Home
  • About
  • Categories
  • Tags
  • Archives

Vim Tutorial Airline

Airline

Vim-airline and powerline are both statusline plugins can be used for vim. If you want to use statusline for vim only, try the lightweight plugin Vim-airline. It is easier to setup than powerline.

airline 1

Vim-airline (normal mode)

airline 2

Vim-ariline (insert model)

You can install the plugin by the tutorial Add Plugins by Vundle.

Here is the basic settings for airline:

set laststatus=2        " Show statusline all the time
let g:airline_powerline_fonts = 1       " Use powerline symbols (You need powerline-symbol-patched fonts installed)

You can download patched fonts from powerline-fonts or use font patcher to patch your favourite font with symbols.

Share on: Twitter ❄ Facebook ❄ Google+ ❄ Email

So what do you think of it? Do I miss something? Leave your comments below...

Comments
comments powered by Disqus

Related Posts

  • Vim Tutorial (2) Configure Vim
  • Vim Tutorial (3) Theme and Font
  • Vim Tutorial (4) Add Plugins by Vundle
  • Edit LaTeX with Vim
  • Enable Alt Key Macros in LaTeX-Suite

  • Introduction to Pelican (1) Creating a Personal Web Page »

Published

Sep 13, 2015

Last Updated

Sep 13, 2015

Category

Coding

Tags

  • airline 1
  • powerline 1
  • vim 7

Contact

  • Creative Commons License
    "+OK" by Joe is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
  • Powered by Pelican. Theme: Elegant by Talha Mansoor