]> git.friedersdorff.com Git - max/dotfiles.git/blob - vim/.vimrc
Add simpylfold to vim
[max/dotfiles.git] / vim / .vimrc
1 :let mapleader = "-"
2 :let maplocalleader = "\\"
3
4 set nocompatible              " be iMproved, required
5 filetype off                  " required
6
7 " set the runtime path to include Vundle and initialize
8 set rtp+=~/.vim/bundle/Vundle.vim
9 call vundle#begin()
10 " alternatively, pass a path where Vundle should install plugins
11 " call vundle#begin('~/some/path/here')
12 Plugin 'gmarik/Vundle.vim'
13 Plugin 'jelera/vim-javascript-syntax' 
14 Plugin 'noahfrederick/vim-noctu'
15 Plugin 'pangloss/vim-javascript'
16 Plugin 'Yggdroot/indentLine'
17 Plugin 'Raimondi/delimitMate'
18 Plugin 'scrooloose/syntastic'
19 Plugin 'ternjs/tern_for_vim'
20 Plugin 'docunext/closetag.vim'
21 Plugin 'vim-airline/vim-airline'
22 Plugin 'vim-airline/vim-airline-themes'
23 Plugin 'airblade/vim-gitgutter'
24 Plugin 'tpope/vim-fugitive'
25 Plugin 'kien/ctrlp.vim'
26 Plugin 'editorconfig/editorconfig-vim'
27 Plugin 'LaTeX-Box-Team/LaTeX-Box'
28 Plugin 'ajh17/VimCompletesMe'
29 Plugin 'hynek/vim-python-pep8-indent'
30 Plugin 'vim-scripts/octave.vim--'
31 Plugin 'vim-scripts/MatlabFilesEdition'
32 Plugin 'flazz/vim-colorschemes'
33 Plugin 'benmills/vimux'
34 Plugin 'tmhedberg/SimpylFold'
35
36 " All of your Plugins must be added before the following line
37 call vundle#end()            " required
38 filetype plugin indent on    " required
39
40 " Random look and feel stuff
41 syntax on
42 set background=dark
43 colorscheme molokai
44 set expandtab
45 set shiftwidth=2
46 set softtabstop=2
47 set number
48
49 let g:html_indent_inctags = "html,body,head,tbody"
50 let g:indentLine_color_term = 200
51
52 " syntastic
53 set statusline+=%#warningmsg#
54 set statusline+=%{SyntasticStatuslineFlag()}
55 set statusline+=%*
56
57 let g:syntastic_always_populate_loc_list = 1
58 let g:syntastic_auto_loc_list = 2
59 let g:syntastic_check_on_open = 1
60 let g:syntastic_check_on_wq = 1
61 let g:syntastic_javascript_checkers = ['eslint']
62 let g:syntastic_python_python_exec = '/usr/bin/python3'
63 let g:syntastic_python_checkers = ['flake8']
64 let g:syntastic_aggregate_errors = 1
65
66 " Syntastic C++11
67 let g:syntastic_cpp_compiler = 'g++'
68 let g:syntastic_cpp_compiler_options = '-std=c++11'
69
70 set laststatus=2
71 " Set this to 1 if powerline fonts are installed.
72 let g:airline_powerline_fonts = 0
73 set timeoutlen=1000
74 let g:airline#extensions#tabline#enabled = 1
75 let g:airline#extensions#tabline#fnamemod = ':t'
76
77 " Setting wildignore
78 set wildignore+=venv
79 set wildignore+=.git,.hg.svn
80
81 " CtrlP
82 let g:ctrlp_working_path_mode = 'r'
83
84 " Editorconfig
85 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
86
87 " latex-box
88 let g:LatexBox_quickfix = 4
89 let g:LatexBox_viewer = "mupdf"
90
91 " clang fix
92 let g:clang_user_options='|| exit0'
93
94 " Color 80th column
95 highlight ColorColumn ctermbg=0
96 set colorcolumn=80
97
98 " Octave Syntax
99 " augroup filetypedetect
100 "   au! BufRead,BufNewFile *.m,*.oct set filetype=octave
101 " augroup END 
102
103 " vimux
104 map C :VimuxPromptCommand<CR>