summaryrefslogtreecommitdiff
path: root/vimrc
blob: 57a2a76fed7f8ea31ea4799ef59e870c0ec03d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
let g:inkpot_black_background = 1

if &term =~ 'screen'
	set t_Co=256
endif

colorscheme inkpot
filetype on
syntax on

filetype plugin indent on

set wrap
set nocompatible
set nobackup
set backspace=indent,eol,start
set history=1000
set ruler
set showcmd
set ttyfast

set autoindent
set shiftwidth=4
set softtabstop=4
set tabstop=4
"set textwidth=79
set cinoptions=(s,U1

set ignorecase
set incsearch
set hlsearch
set scrolloff=4

set foldenable

autocmd FileType haml setlocal sw=2 sts=2 ts=2 et
autocmd FileType ruby setlocal sw=2 sts=2 ts=2 et
autocmd FileType sh   setlocal et