summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-12-23 22:58:06 -0600
committerBobby Bingham <koorogi@koorogi.info>2016-12-23 23:10:46 -0600
commit611cb9c018a103f61d142019897bbfb5ada6dcf3 (patch)
treeab81168888206a8fa73f7cb2de910daa7441ecab
parent8ffda4ecff0a2c93023d0e4fe4e079636d930571 (diff)
vim: add airline status bar
-rw-r--r--.gitmodules6
m---------vim/.vim/bundle/vim-airline0
m---------vim/.vim/bundle/vim-airline-themes0
-rw-r--r--vim/.vimrc5
4 files changed, 11 insertions, 0 deletions
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
+Subproject e83ed2408878ddd3bedf07d563b3ec1139a8f5e
diff --git a/vim/.vim/bundle/vim-airline-themes b/vim/.vim/bundle/vim-airline-themes
new file mode 160000
+Subproject 2a97d9ee410d7b9980a7741fc6e705d53eea23c
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='<c-p>' "display fuzzy buffer search on ^P
" align equals on 'a=', comma on 'a,'
nnoremap a= :Tabularize /=<cr>
nnoremap a, :Tabularize /,/r0l1<cr>
+
+" airline
+" display status line even with no splits
+set laststatus=2