summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc28
1 files changed, 28 insertions, 0 deletions
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 <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