Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for vim-airline #85

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ peace-loving hippies. Built for Mac OS X.
* `,l` begins aligning lines on a string, usually used as `,l=` to align assignments
* `^hjkl` move between windows, shorthand for `^w hjkl`

#### vim-airline statusbar

Maximum awesome ships with [vim-airline](https://github.com/bling/vim-airline) support. If you want fancy symbols you will need to do the following:

1. Install PowerLine fonts. The fonts reside in the [powerline-fonts](https://github.com/Lokaltog/powerline-fonts) repo and installation instructions can be found [here](https://powerline.readthedocs.org/en/latest/fontpatching.html).
2. Add the following to your `~/.vimrc.local`:

" Enable PowerLine fonts for vim-airline
let g:airline_powerline_fonts = 1

### tmux

* `^a` is the prefix
Expand Down
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ let g:ctrlp_match_window = 'order:ttb,max:20'
let g:NERDSpaceDelims=1
let g:gitgutter_enabled = 0

" vim-airline settings
let g:airline#extensions#tabline#enabled = 1

" Use The Silver Searcher https://github.com/ggreer/the_silver_searcher
if executable('ag')
let g:ackprg = 'ag --nogroup --column'
Expand Down
1 change: 1 addition & 0 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Bundle 'airblade/vim-gitgutter'
Bundle 'altercation/vim-colors-solarized'
Bundle 'austintaylor/vim-indentobject'
Bundle 'bling/vim-airline'
Bundle 'christoomey/vim-tmux-navigator'
Bundle 'gmarik/vundle'
Bundle 'juvenn/mustache.vim'
Expand Down