Skip to content

Commit

Permalink
使用airline替换powerline
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken committed May 8, 2014
1 parent 604503e commit aa7a080
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,13 @@ molokai主题
> 显示增强

1. ####状态栏增强 [Lokaltog/vim-powerline](https://github.com/Lokaltog/vim-powerline)
1. ####状态栏增强 [bling/vim-airline](https://github.com/bling/vim-airline)

之前使用powerline, 用airline替换, powerline的配置注释,需要的自行解开

演示

![powerline](https://github.com/wklken/gallery/blob/master/vim/powerline.png?raw=true)
![airline](https://raw.githubusercontent.com/wiki/bling/vim-airline/screenshots/demo.gif)

2. ####括号上色高亮 [kien/rainbow_parentheses.vim](https://github.com/kien/rainbow_parentheses.vim)

Expand Down
17 changes: 15 additions & 2 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,23 @@ nnoremap <leader>h :GundoToggle<CR>
"################### 显示增强 ###################

"状态栏增强展示
Bundle 'Lokaltog/vim-powerline'
" 老的poerline配置
"Bundle 'Lokaltog/vim-powerline'
"if want to use fancy,need to add font patch -> git clone git://gist.github.com/1630581.git ~/.fonts/ttf-dejavu-powerline
"let g:Powerline_symbols = 'fancy'
let g:Powerline_symbols = 'unicode'
"let g:Powerline_symbols = 'unicode'

" 新的airline配置
Bundle 'bling/vim-airline'
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_left_sep = '▶'
let g:airline_left_alt_sep = '❯'
let g:airline_right_sep = '◀'
let g:airline_right_alt_sep = '❮'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'


"括号显示增强
Expand Down

0 comments on commit aa7a080

Please sign in to comment.