summaryrefslogtreecommitdiff
path: root/vimrc
blob: bc42f7ccca724404dfa63d62442f965072ed8bc0 (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
let g:inkpot_black_background = 1

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

colorscheme inkpot
filetype on
syntax on

filetype plugin on

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

set autoindent
set smartindent
set shiftwidth=4
set tabstop=4

set ignorecase
set incsearch
set hlsearch
set scrolloff=4

set foldenable

autocmd FileType haml setlocal expandtab tabstop=2 shiftwidth=2
autocmd FileType ruby setlocal expandtab tabstop=2 shiftwidth=2 textwidth=79
autocmd FileType sh   setlocal expandtab