From d00b74e18378c56d40ed048249d62c13bb1954a5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 8 Aug 2010 22:42:14 +0200 Subject: add ,s; set smartindent and clean up Signed-off-by: Florian Pritz --- .vimrc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.vimrc b/.vimrc index 6f7115c..4b22f6c 100644 --- a/.vimrc +++ b/.vimrc @@ -1,8 +1,5 @@ -"---------------------------------------------------- -" File: .vimrc -" Version: 0.1.1 -" Author: Florian "Bluewind" Pritz -"---------------------------------------------------- +" Author: Florian "Bluewind" Pritz + set nocompatible set encoding=utf-8 " unicode encoding if &term =~# '^\(screen\|rxvt*\)$' "tty blinks otherwise @@ -27,7 +24,7 @@ set laststatus=2 set mouse=a set nopaste set foldmethod=marker -set autoindent +set smartindent set scrolloff=3 set showcmd set display=uhex @@ -107,6 +104,8 @@ inoremap :FuzzyFinderFile noremap :nohl inoremap :nohla +nmap ,s :set spell! + autocmd FileType make setlocal noexpandtab au FileType python set ts=4 sw=4 softtabstop=4 et -- cgit v1.2.3-24-g4f1b