1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00
eoli3n-dotfiles/vim/.vimrc
2017-12-16 22:45:14 +01:00

38 lines
893 B
VimL

"pathogen
execute pathogen#infect()
" lines numbers
set nu
syntax on
filetype plugin indent on
set background=dark
set mouse=r
set ruler " show the cursor position all the time
set autoindent " always set autoindenting on
set wildmenu
" tab 4 spaces
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
" brackets highlight color
autocmd VimEnter,Colorscheme * :hi MatchParen cterm=none ctermbg=white ctermfg=black
" remember last cursor place
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" syntaxline
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" powerline
set laststatus=2
set t_Co=256
let g:powerline_pycmd="py3"