Updates to vimrc
This commit is contained in:
parent
aaa48ecddf
commit
eccf8bfd13
12
vimrc
12
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 :<C-U>!git blame % -L<C-R>=line("'<") <CR>,<C-R>=line("'>") <CR><CR>
|
||||
:nmap gb :!git blame %<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user