From eccf8bfd1395596806a57d470e70da35f129f805 Mon Sep 17 00:00:00 2001 From: fedora Date: Fri, 12 Apr 2019 20:35:24 +0200 Subject: [PATCH] Updates to vimrc --- vimrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 %