diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-07-17 21:11:50 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-07-17 21:11:50 +1200 |
commit | ace3d98c85955ac1364de8a7edba864d1e096015 (patch) | |
tree | 5ded0c2da73d0713059b8b588e44c36c3decaa7d /vimrc | |
parent | 15bb3d146698e9749b9516b1c56cdf4f4bf3f255 (diff) | |
download | dotfiles-ace3d98c85955ac1364de8a7edba864d1e096015.tar.xz |
Add airline stuffs
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -3,6 +3,8 @@ set cc=80 set autoindent set tabstop=4 +set shiftwidth=4 +set softtabstop=4 "set listchars=tab:▸\ ,trail:·,space:· set listchars=tab:→\ ,trail:·,space:· @@ -11,3 +13,29 @@ set list highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ + +inoremap <CR> <CR>x<BS> +nnoremap o ox<BS> +nnoremap O Ox<BS> + +autocmd FileType python setlocal expandtab + +"""""""""""""""""""""""""""""" +" airline +"""""""""""""""""""""""""""""" +let g:airline_theme = 'powerlineish' +let g:airline_enable_branch = 1 +let g:airline_enable_syntastic = 1 +let g:airline_powerline_fonts = 1 + +" vim-powerline symbols +"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 = '⭡' + +" makes airline work before split +set laststatus=2 |