summaryrefslogtreecommitdiff
path: root/vimrc
blob: 3f3f30e8e3cd8410d35bb10448c36ef0d949e5a4 (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
39
40
if &term =~ 'screen'
	set t_Co=256
endif

colorscheme mop
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=8
set softtabstop=8
set tabstop=8
"set textwidth=79
set cinoptions=(s,U1,l1,:0

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 javascript setlocal inde= cin cino+=J1

let g:c_syntax_for_h = 1
let g:ruby_indent_assignment_style = 'variable'
let g:ruby_indent_hanging_elements = 0