-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
40 lines (32 loc) · 910 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
"""Vundle required components
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'luochen1990/rainbow'
call vundle#end() " required
filetype plugin indent on " required
"""Folding options
set foldmethod=syntax
set foldlevelstart=100
let javaScript_fold=1
let perl_fold=1
let php_folding=1
let r_syntax_folding=1
let ruby_fold=1
let sh_fold_enabled=1
let vimsyn_folding='af'
let xml_syntax_folding=1
"""mappings and such go here
:let mapleader = "-"
:nnoremap <leader>ev :vsplit $MYVIMRC<cr>
:nnoremap <leader>sv :source $MYVIMRC<cr>
"""More options. YAY!
syntax on
set backspace=indent,eol,start
set wildmode=longest,list,full
set autoread
set hlsearch
let g:rainbow_active = 1 "rainbow parenthesis