summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-08 22:42:14 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-08 22:42:14 +0200
commitd00b74e18378c56d40ed048249d62c13bb1954a5 (patch)
tree212267568f6c329a7261b12d02565ff145cd3920 /.vimrc
parent9ce1b1e33be77f55e7b7f1b95fed8998b411cca0 (diff)
downloaddotfiles-d00b74e18378c56d40ed048249d62c13bb1954a5.tar.gz
dotfiles-d00b74e18378c56d40ed048249d62c13bb1954a5.tar.xz
add ,s; set smartindent and clean up
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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