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 'Yggdroot/indentLine'
14 Plugin 'scrooloose/syntastic'
15 Plugin 'docunext/closetag.vim'
16 Plugin 'vim-airline/vim-airline'
17 Plugin 'vim-airline/vim-airline-themes'
18 Plugin 'airblade/vim-gitgutter'
19 Plugin 'tpope/vim-fugitive'
20 Plugin 'liskin/vim-fubitive'
21 Plugin 'editorconfig/editorconfig-vim'
22 Plugin 'LaTeX-Box-Team/LaTeX-Box'
23 Plugin 'hynek/vim-python-pep8-indent'
24 Plugin 'vim-scripts/octave.vim--'
25 Plugin 'vim-scripts/MatlabFilesEdition'
26 Plugin 'tmhedberg/SimpylFold'
27 Plugin 'saltstack/salt-vim'
29 Plugin 'gu-fan/riv.vim'
30 Plugin 'lepture/vim-jinja'
31 Plugin 'aklt/plantuml-syntax'
32 Plugin 'vim-python/python-syntax'
33 Plugin 'majutsushi/tagbar'
34 Plugin 'heavenshell/vim-pydocstring'
35 Plugin 'altercation/vim-colors-solarized'
37 " All of your Plugins must be added before the following line
38 call vundle#end() " required
39 filetype plugin indent on " required
42 set backupdir=$HOME/.vim/backup//
44 " Random look and feel stuff
48 let g:solarized_termtrans = 1
57 let g:html_indent_inctags = "html,body,head,tbody"
58 let g:indentLine_color_term = 5
61 set statusline+=%#warningmsg#
62 set statusline+=%{SyntasticStatuslineFlag()}
65 let g:syntastic_always_populate_loc_list = 1
66 let g:syntastic_auto_loc_list = 2
67 let g:syntastic_check_on_open = 1
68 let g:syntastic_check_on_wq = 1
69 let g:syntastic_javascript_checkers = ['eslint']
70 let g:syntastic_python_python_exec = '/usr/bin/python3'
71 let g:syntastic_python_checkers = ['pylint']
72 let g:syntastic_python_pylint_args = '-E'
73 let g:syntastic_aggregate_errors = 1
76 let g:syntastic_cpp_compiler = 'g++'
77 let g:syntastic_cpp_compiler_options = '-std=c++14'
80 " Set this to 1 if powerline fonts are installed.
81 let g:airline_powerline_fonts = 1
83 let g:airline#extensions#tabline#enabled = 1
84 let g:airline#extensions#tabline#fnamemod = ':t'
88 set wildignore+=.git,.hg.svn
92 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
95 let g:LatexBox_quickfix = 4
96 let g:LatexBox_viewer = "mupdf"
99 let g:clang_user_options='|| exit0'
102 highlight ColorColumn ctermbg=7
103 let &colorcolumn="80,".join(range(100,999),",")
106 " augroup filetypedetect
107 " au! BufRead,BufNewFile *.m,*.oct set filetype=octave
111 let g:netrw_silent = 1
112 let g:netrw_liststyle = 3
113 let g:netrw_banner = 0
114 let g:netrw_browse_split = 4
115 let g:netrw_winsize = 20
118 set foldmethod=syntax
122 " Better saving behaviour for go
123 let g:go_fmt_experimental = 1
126 set list listchars=trail:•,extends:>,precedes:<,nbsp:␣,eol:↲,tab:→\,
128 " Force python3 for rst tables plugin
129 let g:rst_prefer_python_version = 2
131 " Python syntax highlighting
132 let g:python_highlight_builtins = 1
133 let g:python_highlight_builtin_objs = 1
134 let g:python_highlight_builtin_types = 1
135 let g:python_highlight_builtin_funcs = 1
136 let g:python_highlight_builtin_kwarg = 1
137 let g:python_highlight_exceptions = 1
138 let g:python_highlight_string_formatting = 1
139 let g:python_highlight_string_format = 1
140 let g:python_highlight_string_templates = 1
141 let g:python_highlight_class_vars = 1
142 let g:python_highlight_operators = 1
145 autocmd FileType python setlocal foldmethod=indent foldnestmax=2
148 hi MatchParen cterm=underline ctermbg=none ctermfg=none
150 " Activate tagbar with F8
151 nmap <F8> :TagbarToggle<CR>
154 let g:pydocstring_doq_path= "/home/max/.local/bin/doq"
159 noremap <Leader>y "+y
160 noremap <Leader>p "+p