diff options
-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 |