2 :let maplocalleader = "\\"
4 set nocompatible " be iMproved, required
5 filetype off " required
7 " set the runtime path to include Vundle and initialize
8 set rtp+=~/.vim/bundle/Vundle.vim
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 'scrooloose/syntastic'
18 Plugin 'ternjs/tern_for_vim'
19 Plugin 'docunext/closetag.vim'
20 Plugin 'vim-airline/vim-airline'
21 Plugin 'vim-airline/vim-airline-themes'
22 Plugin 'airblade/vim-gitgutter'
23 Plugin 'tpope/vim-fugitive'
24 Plugin 'kien/ctrlp.vim'
25 Plugin 'editorconfig/editorconfig-vim'
26 Plugin 'LaTeX-Box-Team/LaTeX-Box'
27 Plugin 'ajh17/VimCompletesMe'
28 Plugin 'hynek/vim-python-pep8-indent'
29 Plugin 'vim-scripts/octave.vim--'
30 Plugin 'vim-scripts/MatlabFilesEdition'
31 Plugin 'flazz/vim-colorschemes'
32 Plugin 'benmills/vimux'
33 Plugin 'tmhedberg/SimpylFold'
34 Plugin 'saltstack/salt-vim'
36 Plugin 'gu-fan/riv.vim'
37 Plugin 'nvie/vim-rst-tables'
38 Plugin 'lepture/vim-jinja'
39 Plugin 'aklt/plantuml-syntax'
40 Plugin 'vim-python/python-syntax'
41 Plugin 'luochen1990/rainbow'
42 Plugin 'majutsushi/tagbar'
44 " All of your Plugins must be added before the following line
45 call vundle#end() " required
46 filetype plugin indent on " required
49 set backupdir=$HOME/.vim/backup//
51 " Random look and feel stuff
61 let g:html_indent_inctags = "html,body,head,tbody"
62 let g:indentLine_color_term = 200
65 set statusline+=%#warningmsg#
66 set statusline+=%{SyntasticStatuslineFlag()}
69 let g:syntastic_always_populate_loc_list = 1
70 let g:syntastic_auto_loc_list = 2
71 let g:syntastic_check_on_open = 1
72 let g:syntastic_check_on_wq = 1
73 let g:syntastic_javascript_checkers = ['eslint']
74 let g:syntastic_python_python_exec = '/usr/bin/python3'
75 let g:syntastic_python_checkers = ['flake8']
76 let g:syntastic_aggregate_errors = 1
79 let g:syntastic_cpp_compiler = 'g++'
80 let g:syntastic_cpp_compiler_options = '-std=c++14'
83 " Set this to 1 if powerline fonts are installed.
84 let g:airline_powerline_fonts = 1
86 let g:airline#extensions#tabline#enabled = 1
87 let g:airline#extensions#tabline#fnamemod = ':t'
91 set wildignore+=.git,.hg.svn
94 let g:ctrlp_working_path_mode = 'r'
97 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
100 let g:LatexBox_quickfix = 4
101 let g:LatexBox_viewer = "mupdf"
104 let g:clang_user_options='|| exit0'
107 highlight ColorColumn ctermbg=0
108 let &colorcolumn="80,".join(range(100,999),",")
111 " augroup filetypedetect
112 " au! BufRead,BufNewFile *.m,*.oct set filetype=octave
116 map C :VimuxPromptCommand<CR>
119 let g:netrw_silent = 1
122 set foldmethod=syntax
126 " Better saving behaviour for go
127 let g:go_fmt_experimental = 1
130 set list listchars=trail:•,extends:>,precedes:<,nbsp:␣,eol:↲,tab:→\,
132 " Force python3 for rst tables plugin
133 let g:rst_prefer_python_version = 2
135 " Set linelength for python
136 let g:black_linelength = 80
138 " Python syntax highlighting
139 let g:python_highlight_builtins = 1
140 let g:python_highlight_builtin_objs = 1
141 let g:python_highlight_builtin_types = 1
142 let g:python_highlight_builtin_funcs = 1
143 let g:python_highlight_builtin_kwarg = 1
144 let g:python_highlight_exceptions = 1
145 let g:python_highlight_string_formatting = 1
146 let g:python_highlight_string_format = 1
147 let g:python_highlight_string_templates = 1
148 let g:python_highlight_class_vars = 1
149 let g:python_highlight_operators = 1
152 autocmd FileType python setlocal foldmethod=indent foldnestmax=2
155 hi MatchParen cterm=underline ctermbg=none ctermfg=none
158 let g:rainbow_active = 1
160 " Activate tagbar with F8
161 nmap <F8> :TagbarToggle<CR>