-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
40 lines (31 loc) · 1.11 KB
/
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
set nocompatible
"filetype plugin on
filetype off "required by vundle
set tabstop=4
set shiftwidth=2
color desert
"from http://wiki.octave.org/Vim :
autocmd FileType matlab setlocal keywordprg=info\ octave\ --vi-keys\ --index-search
runtime macros/matchit.vim
let s:conditionalEnd = '\(([^()]*\)\@!\<end\>\([^()]*)\)\@!'
autocmd FileType octave let b:match_words = '\<if\>\|\<while\>\|\<for\>\|\<switch\>:' .
\ s:conditionalEnd . ',\<if\>:\<elseif\>:\<else\>:' . s:conditionalEnd
"making matching parenthesis underlining more elegant
"from http://design.liberta.co.za/articles/customizing-disabling-vim-matching-parenthesis-highlighting/
hi MatchParen cterm=underline ctermbg=none ctermfg=none
set rtp+=~/.config/vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
Bundle 'altercation/vim-colors-solarized'
Bundle 'godlygeek/csapprox'
filetype plugin indent on
syntax enable
set background=light
let g:solarized_termtrans=1
"let g:solarized_termcolors=256
let g:solarized_contrast="high"
let g:solarized_visibility="high"
colorscheme solarized