summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc11
1 files 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 <f-p@gmx.at>
-"----------------------------------------------------
+" Author: Florian "Bluewind" Pritz <flo@xssn.at>
+
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 <C-f> <ESC>:FuzzyFinderFile<CR>
noremap <C-h> :nohl<CR>
inoremap <C-h> <ESC>:nohl<CR>a
+nmap <silent> ,s :set spell!<CR>
+
autocmd FileType make setlocal noexpandtab
au FileType python set ts=4 sw=4 softtabstop=4 et