vimrc: "Take inspiration" from @ProgVal

https://raw.githubusercontent.com/ProgVal/misc/master/dotfiles/.vimrc
This commit is contained in:
Mikaela Suomalainen 2014-05-14 14:52:49 +03:00
parent c4624848d1
commit 08cbe90f2a
1 changed files with 12 additions and 0 deletions

12
vimrc
View File

@ -85,3 +85,15 @@ set fileencoding=utf-8
" Remove BOMs. They broke things yesterday nd now they wasted my time
" at school! via http://techwelkin.com/how-to-remove-byte-order-mark-bom-characters
set nobomb
" Copied from https://github.com/ProgVal/misc/blob/master/dotfiles/.vimrc
set autoindent
set softtabstop=4
filetype plugin indent on
" Return to last edit position when opening files (You want this!)
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
" End of copied from https://raw.githubusercontent.com/ProgVal/misc/master/dotfiles/.vimrc