check detection in statusline, add some more unicode symbols to docs

This commit is contained in:
Bailey Ling 2013-07-06 18:30:21 +00:00
parent e89e6ad27b
commit 5f24841533
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,8 @@ well as the powerline font glyths
let g:airline_linecolumn_prefix = '¶ '
let g:airline_fugitive_prefix = '⎇ '
let g:airline_paste_symbol = 'ρ'
let g:airline_paste_symbol = 'Þ'
let g:airline_paste_symbol = '∥'
" powerline symbols
let g:airline_left_sep = ''

View File

@ -116,7 +116,7 @@ function! s:update_statusline(active)
let sl = l:mode_color
let sl.= a:active
\ ? '%{AirlineUpdateHighlight()} '.g:airline_section_a.' %{&paste ? g:airline_paste_symbol." " : ""}'.l:mode_sep_color
\ ? '%{AirlineUpdateHighlight()} '.g:airline_section_a.' %{g:airline_paste_detection && &paste ? g:airline_paste_symbol." " : ""}'.l:mode_sep_color
\ : ' %#Al9#'
let sl.='%{g:airline_left_sep}'.l:info_color
let sl.=' '.g:airline_section_b.' '