Skip to content

Instantly share code, notes, and snippets.

@ironhouzi
Last active December 26, 2015 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ironhouzi/7118575 to your computer and use it in GitHub Desktop.
Save ironhouzi/7118575 to your computer and use it in GitHub Desktop.
Airline settings
" ---------------------------------------
" AIRLINE
" ---------------------------------------
let g:airline_left_sep = ''
let g:airline_right_sep = ''
let g:airline_fugitive_prefix = '⎇ '
let g:airline#extensions#tabline#enabled = 0 " Extended tab bar on top
let g:airline#extensions#default#section_truncate_width = {
\ 'a': 45,
\ 'b': 45,
\ 'c': 45,
\ 'x': 74,
\ 'y': 45,
\ 'z': 74,
\ }
" a: mode, paste, iminsert
" b: hunks, branch
" c: bufferline, filename
" x: tagbar, filetype, virtualenv
" y: fileencoding, fileformat
" z: percentage, line number, column number
" ---------------------------------------
if has('statusline')
set laststatus=2
" set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
set showmode
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment