Change to Lightline instead of Airline [Fix #418]

This commit is contained in:
Yan Pritzker 2014-01-05 19:09:18 -06:00
parent 2b117b5812
commit 9c4abaa89f
6 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,8 @@
### Jan 5, 2013
* Switch to lightline instead of airline for status bar. Works better in terminal vim and should be faster.
* Added investigate.vim (gK for docs)
* Fix homebrew installation of macvim with lua enabled, and fix deprecated homebrew install.
### Dec 17, 2013
* Cleanup of README to make it more palatable, focusing on the primary key bindings

View File

@ -156,7 +156,7 @@ end
def install_fonts
puts "======================================================"
puts "Installing patched fonts for Powerline."
puts "Installing patched fonts for Powerline/Lightline."
puts "======================================================"
run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts }
puts

View File

@ -1,7 +0,0 @@
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_branch_prefix = '⭠ '
let g:airline_readonly_symbol = '⭤'
let g:airline_linecolumn_prefix = '⭡'

View File

@ -0,0 +1,8 @@
let g:lightline = {
\ 'colorscheme': 'solarized',
\ 'component': {
\ 'readonly': '%{&readonly?"⭤":""}',
\ },
\ 'separator': { 'left': '⮀', 'right': '⮂' },
\ 'subseparator': { 'left': '⮁', 'right': '⮃' }
\ }

View File

@ -27,6 +27,7 @@ hi! link CTagsMethod Identifier
hi! link CTagsSingleton Identifier
hi! link javascriptFuncName Type
hi! link jsFuncCall jsFuncName
hi! link javascriptFunction Statement
hi! link javascriptThis Statement
hi! link javascriptParens Normal

View File

@ -134,7 +134,7 @@ Bundle "vim-scripts/argtextobj.vim"
" Cosmetics, color scheme, Powerline...
Bundle "chrisbra/color_highlight.git"
Bundle "skwp/vim-colors-solarized"
Bundle "bling/vim-airline.git"
Bundle "itchyny/lightline.vim"
Bundle "vim-scripts/TagHighlight.git"
Bundle "bogado/file-line.git"
Bundle "jby/tmux.vim.git"