Install vim-airline plugin and add settings file

Vim's statusline is now handled by the vim-airline plugin. This commit
removes the statusline cruft from vimrc and adds a tiny airline-settings
plugin to configure airline.
master
nirenjan 2013-08-15 08:37:38 -07:00
parent 31e5f9ab0b
commit 95045b3492
2 changed files with 9 additions and 13 deletions

View File

@ -0,0 +1,9 @@
" File: airline-settings.vim
" Author: Nirenjan Krishnan
" Description: Base settings for vim-airline plugin
" Last Modified: August 15, 2013
set ttm=50
let g:airline_left_sep=''
let g:airline_right_sep=''
let g:airline_theme='solarized'

13
vimrc
View File

@ -43,19 +43,6 @@ set laststatus=2
" Show tab line
set showtabline=2
" Set status to show all details
set statusline=%F " Full path to filename
set statusline+=%m " Modified flag
set statusline+=%h " Help buffer flag
set statusline+=%w " Preview window flag
set statusline+=\ %y " File type
set statusline+=%= " Switch to right align
set statusline+=[%03.3b " ASCII value for character under cursor
set statusline+=/0x%02.2B] " Same, but in hex
set statusline+=\ [%v " Virtual column number
set statusline+=,%l/%L] " Current line number, total lines
set statusline+=\ [%p%%] " Percentage through file
" Set the cursorline option
" This (by default shows up as underlining)
set cursorline