Skip to content

Commit

Permalink
Replace vim-powerline with vim-airline
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellMcKenna committed Aug 25, 2013
1 parent 0fa981a commit 1eb6fb2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
[submodule ".vim/bundle/snipmate"]
path = .vim/bundle/snipmate
url = https://github.com/garbas/vim-snipmate.git
[submodule ".vim/bundle/vim-powerline"]
path = .vim/bundle/vim-powerline
url = https://github.com/Lokaltog/vim-powerline.git
[submodule ".vim/bundle/syntastic"]
path = .vim/bundle/syntastic
url = https://github.com/scrooloose/syntastic.git
Expand All @@ -62,3 +59,6 @@
[submodule ".vim/bundle/vim-snippets"]
path = .vim/bundle/vim-snippets
url = https://github.com/honza/vim-snippets.git
[submodule ".vim/bundle/vim-airline"]
path = .vim/bundle/vim-airline
url = https://github.com/bling/vim-airline.git
1 change: 1 addition & 0 deletions .vim/bundle/vim-airline
Submodule vim-airline added at b34aa7
1 change: 0 additions & 1 deletion .vim/bundle/vim-powerline
Submodule vim-powerline deleted from 114f8e
11 changes: 4 additions & 7 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@
set runtimepath^=~/.vim/bundle/ctrlp.vim
" }

" Poweline {
let g:Powerline_theme="solarized16"
let g:Powerline_colorscheme="solarized16"
let g:Powerline_symbols = 'fancy'
" }

" Syntastical - PHP Code_Sniffer {
let g:phpcs_std_list="PSR2"
let g:syntastic_check_on_open=0
Expand Down Expand Up @@ -94,7 +88,6 @@
" }

" UI settings {

syntax on " enable syntax highlighting

set cmdheight=2 " command line two lines high
Expand Down Expand Up @@ -138,3 +131,7 @@
" EasyMotion settings {
let g:EasyMotion_do_shade = 0
" }

" Airline - FontForge/Powerline {
let g:airline_powerline_fonts = 1
" }
10 changes: 9 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ You can add vim plugins as git submodules for easy updates:
git submodule add https://github.com/honza/vim-snippets.git .vim/bundle/vim-snippets
git submodule add https://github.com/vim-scripts/L9.git .vim/bundle/L9
git submodule add https://github.com/altercation/vim-colors-solarized.git .vim/bundle/vim-colors-solarized
git submodule add https://github.com/Lokaltog/vim-powerline.git .vim/bundle/vim-powerline
git submodule add https://github.com/scrooloose/syntastic.git .vim/bundle/syntastic
git submodule add https://github.com/vim-scripts/phpcs.vim.git .vim/bundle/phpcs
git submodule add https://github.com/rmanalan/jshint.vim.git .vim/bundle/jshint.vim
git submodule add https://github.com/vim-scripts/csslint.vim.git .vim/bundle/csslint.vim
git submodule add https://github.com/kien/ctrlp.vim .vim/bundle/ctrlp.vim
git submodule add https://github.com/bling/vim-airline.git .vim/bundle/vim-airline

Update All Git Submodules
-------------------------
Expand All @@ -86,6 +86,14 @@ Linux:

sudo apt-get install exuberant-ctags

Setting Up Airline (Powerline)
------------------------------

In order to get the fancy arrows and symbols in the statusbar powered by vim-airline, you need to patch the font, follow the instructions on [vim-airline - Integrating with powerline fonts](https://github.com/bling/vim-airline#integrating-with-powerline-fonts).

Don't forget to update your terminal settings to use the new font as well after you've patched it.


Tell Git to ignore dirty submodules
-----------------------------------

Expand Down

0 comments on commit 1eb6fb2

Please sign in to comment.