1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 07:21:58 +01:00
eoli3n-dotfiles/vim/.vimrc

38 lines
893 B
VimL
Raw Normal View History

2017-02-24 22:54:08 +01:00
"pathogen
execute pathogen#infect()
2016-03-16 12:23:43 +01:00
" lines numbers
set nu
syntax on
2017-02-24 22:54:08 +01:00
filetype plugin indent on
2016-03-28 23:31:38 +02:00
set background=dark
2016-03-16 12:23:43 +01:00
set mouse=r
2017-02-24 22:54:08 +01:00
set ruler " show the cursor position all the time
set autoindent " always set autoindenting on
2017-03-01 06:42:23 +01:00
set wildmenu
2016-03-16 12:23:43 +01:00
2017-02-24 22:54:08 +01:00
" tab 4 spaces
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
2017-02-07 18:40:08 +01:00
2017-03-01 06:42:23 +01:00
" brackets highlight color
autocmd VimEnter,Colorscheme * :hi MatchParen cterm=none ctermbg=white ctermfg=black
2016-03-16 12:23:43 +01:00
2017-02-24 22:54:08 +01:00
" remember last cursor place
2016-03-16 12:23:43 +01:00
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
2017-03-01 23:42:31 +01:00
" 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
2016-09-18 22:13:41 +02:00
" powerline
set laststatus=2
set t_Co=256
let g:powerline_pycmd="py3"