From 611cb9c018a103f61d142019897bbfb5ada6dcf3 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Fri, 23 Dec 2016 22:58:06 -0600 Subject: vim: add airline status bar --- .gitmodules | 6 ++++++ vim/.vim/bundle/vim-airline | 1 + vim/.vim/bundle/vim-airline-themes | 1 + vim/.vimrc | 5 +++++ 4 files changed, 13 insertions(+) create mode 160000 vim/.vim/bundle/vim-airline create mode 160000 vim/.vim/bundle/vim-airline-themes diff --git a/.gitmodules b/.gitmodules index 3e2f293..1d387fc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,9 @@ [submodule "vim/.vim/bundle/tabular"] path = vim/.vim/bundle/tabular url = git://github.com/godlygeek/tabular.git +[submodule "vim/.vim/bundle/vim-airline"] + path = vim/.vim/bundle/vim-airline + url = https://github.com/vim-airline/vim-airline +[submodule "vim/.vim/bundle/vim-airline-themes"] + path = vim/.vim/bundle/vim-airline-themes + url = https://github.com/vim-airline/vim-airline-themes diff --git a/vim/.vim/bundle/vim-airline b/vim/.vim/bundle/vim-airline new file mode 160000 index 0000000..e83ed24 --- /dev/null +++ b/vim/.vim/bundle/vim-airline @@ -0,0 +1 @@ +Subproject commit e83ed2408878ddd3bedf07d563b3ec1139a8f5ec diff --git a/vim/.vim/bundle/vim-airline-themes b/vim/.vim/bundle/vim-airline-themes new file mode 160000 index 0000000..2a97d9e --- /dev/null +++ b/vim/.vim/bundle/vim-airline-themes @@ -0,0 +1 @@ +Subproject commit 2a97d9ee410d7b9980a7741fc6e705d53eea23c2 diff --git a/vim/.vimrc b/vim/.vimrc index 0ad8e95..22fd75d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -24,6 +24,7 @@ set wildmenu " color settings set background=dark let g:gruvbox_contrast_dark='hard' +let g:airline_theme='cool' colorscheme gruvbox syntax on @@ -52,3 +53,7 @@ let g:ctrlp_map='' "display fuzzy buffer search on ^P " align equals on 'a=', comma on 'a,' nnoremap a= :Tabularize /= nnoremap a, :Tabularize /,/r0l1 + +" airline +" display status line even with no splits +set laststatus=2 -- cgit v1.2.3