From ace3d98c85955ac1364de8a7edba864d1e096015 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 17 Jul 2016 21:11:50 +1200 Subject: Add airline stuffs --- vimrc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/vimrc b/vimrc index 1ed6d3f..686204e 100644 --- a/vimrc +++ b/vimrc @@ -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 x +nnoremap o ox +nnoremap O Ox + +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 -- cgit v1.1