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
|
|
|
|
hi Normal ctermbg=none
|
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
|
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
|
|
|
|
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
|
|
|
|
|
2016-09-18 22:13:41 +02:00
|
|
|
" powerline
|
|
|
|
set laststatus=2
|
|
|
|
set t_Co=256
|
|
|
|
let g:powerline_pycmd="py3"
|