1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 14:13:53 +01:00
eoli3n-dotfiles/.vimrc

50 lines
1.2 KiB
VimL
Raw Normal View History

2016-03-16 12:23:43 +01:00
" lines numbers
set nu
" better contrast
" set background=dark
" active colors
syntax on
" choose colors
2016-03-28 23:31:38 +02:00
set background=dark
colorscheme solarized
hi Normal ctermbg=none
2016-10-11 19:30:38 +02:00
let g:solarized_termtrans=1
" highlight NonText ctermbg=none
2016-03-16 12:23:43 +01:00
" no tab when pasting
" set paste
" mouse selection to not have line numbers
" mac : CMD+ALT+SELECTION
" linux : SHIFT+SELECTION
set mouse=r
" no tilde files
set nobackup
" python options
set tabstop=8
set expandtab
set shiftwidth=4
set softtabstop=4
filetype indent on
" This beauty remembers where you were the last time you edited the file, and returns to the same position.
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set autoindent " always set autoindenting on
2016-09-18 22:13:41 +02:00
" powerline
set laststatus=2
set t_Co=256
let g:powerline_pycmd="py3"