diff --git a/vimrc b/vimrc index d043633..4b6c8f7 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,4 @@ - set nocompatible filetype off "required @@ -116,7 +115,7 @@ set backspace=2 set nolist " show/hide tabs and EOL chars set nonumber " show/hide line numbers (nu/nonu) set scrolloff=5 " scroll offsett, min lines above/below cursor -set scrolljump=5 " jump 5 lines when running out of the screen +"set scrolljump=5 " jump 5 lines when running out of the screen set sidescroll=10 " minumum columns to scroll horizontally set showcmd " show command status set showmatch " flashes matching paren when one is typed @@ -126,12 +125,19 @@ set ruler " show cursor position set nofen set foldmethod=indent " indent based folding -set noerrorbells " no bells in terminal +set errorbells " no bells in terminal set undolevels=1000 " number of undos stored set viminfo='50,"50 " '=marks for x files, "=registers for x files +au BufNewFile,BufRead *.py,*.pyw,*.c,*.h,*.pyx,%akefil* match BadWhitespace /\s\+$/ | + \ setlocal tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent + \ textwidth=79 fileformat=unix + +set encoding=utf-8 + + :vmap gb :!git blame % -L=line("'<") ,=line("'>") :nmap gb :!git blame %