Last active
December 26, 2015 07:59
-
-
Save ironhouzi/7118575 to your computer and use it in GitHub Desktop.
Airline settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" --------------------------------------- | |
" 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