From 9ba1a2677e01c49287efc9971d8d2f4bfcdd0c6e Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Tue, 21 Jan 2014 15:03:21 +0100 Subject: [PATCH] current vimrc --- .vimrc | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 3a56695..fb6e0a8 100644 --- a/.vimrc +++ b/.vimrc @@ -1,10 +1,33 @@ syntax on +syntax enable filetype on +filetype indent plugin on +set modeline + +" use flake8 to ensure PEP-8 compliance for python +source /home/oli/.vim/bundle/ftplugin/python_flake8.vim +let g:flake8_builtins="_,apply" +autocmd FileType python map :call Flake8() + set background=dark set showcmd + +" highlight searches set hlsearch +" case insensitive searches +set incsearch + +" Relative line numbers except the current line +" Both relativenumber with number works on vim 7.4+ +set relativenumber +"set number + let g:solarized_termcolors=256 -colorscheme solarized ".vim/colors/solarized.vim +colorscheme solarized + +" Highlight 80 column +set colorcolumn=80 +highlight ColorColumn ctermbg=233 " Jump to last position in file when reopening if has("autocmd")