-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc
55 lines (41 loc) · 815 Bytes
/
.vimrc
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
set number
set numberwidth=5
set softtabstop=4
set tabstop=4
set shiftwidth=4
set wrap
set showcmd
set wildmenu
set wildmode=list:full
set hlsearch
set incsearch
set expandtab "Convert tab to spaces, for haskell.
set foldmethod=syntax
set colorcolumn=73
set textwidth=72
set viminfo+=n~/.vim/f/viminfo
set smartindent
filetype plugin indent on
syntax on
colorscheme molokai
set t_Co=256
nnoremap <Left> <nop>
nnoremap <Right> <nop>
nnoremap <Up> <nop>
nnoremap <Down> <nop>
inoremap <Left> <nop>
inoremap <Right> <nop>
inoremap <Up> <nop>
inoremap <Down> <nop>
"Pathogen
execute pathogen#infect()
"My tweaks
"
"XML folding
let g:xml_syntax_folding=1
au FileType xml setlocal foldmethod=syntax
"Latex stuff
set grepprg=grep\ -nH\ $*
let g:tex_flavor = 'latex'
"set background=light
"colorscheme lucius