From 08cbe90f2a7afcfbe3334ae957cc96cc54143db0 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 14 May 2014 14:52:49 +0300 Subject: [PATCH] vimrc: "Take inspiration" from @ProgVal https://raw.githubusercontent.com/ProgVal/misc/master/dotfiles/.vimrc --- vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vimrc b/vimrc index 64a8c42d..b8c96a55 100644 --- a/vimrc +++ b/vimrc @@ -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