]> git.friedersdorff.com Git - max/dotfiles.git/blob - vim/.vimrc
Adjust color for 16 color terminal
[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 'Lokaltog/vim-distinguished'
16 Plugin 'pangloss/vim-javascript'
17 Plugin 'Yggdroot/indentLine'
18 Plugin 'Raimondi/delimitMate'
19 Plugin 'scrooloose/syntastic'
20 Plugin 'ternjs/tern_for_vim'
21 Plugin 'docunext/closetag.vim'
22 Plugin 'vim-airline/vim-airline'
23 Plugin 'vim-airline/vim-airline-themes'
24 Plugin 'airblade/vim-gitgutter'
25 Plugin 'tpope/vim-fugitive'
26 Plugin 'kien/ctrlp.vim'
27 Plugin 'editorconfig/editorconfig-vim'
28 Plugin 'LaTeX-Box-Team/LaTeX-Box'
29 Plugin 'ajh17/VimCompletesMe'
30 Plugin 'hynek/vim-python-pep8-indent'
31 Plugin 'vim-scripts/octave.vim--'
32 Plugin 'vim-scripts/MatlabFilesEdition'
33
34 " All of your Plugins must be added before the following line
35 call vundle#end()            " required
36 filetype plugin indent on    " required
37
38 " Random look and feel stuff
39 syntax on
40 set expandtab
41 set shiftwidth=2
42 set softtabstop=2
43 set number
44
45 let g:html_indent_inctags = "html,body,head,tbody"
46 let g:indentLine_color_term = 200
47
48 " syntastic
49 set statusline+=%#warningmsg#
50 set statusline+=%{SyntasticStatuslineFlag()}
51 set statusline+=%*
52
53 let g:syntastic_always_populate_loc_list = 1
54 let g:syntastic_auto_loc_list = 2
55 let g:syntastic_check_on_open = 0
56 let g:syntastic_check_on_wq = 1
57 let g:syntastic_javascript_checkers = ['eslint']
58 let g:syntastic_python_python_exec = '/usr/bin/python3'
59 let g:syntastic_python_checkers = ['flake8']
60
61 " Syntastic C++11
62 let g:syntastic_cpp_compiler = 'g++'
63 let g:syntastic_cpp_compiler_options = '-std=c++11'
64
65 set laststatus=2
66 " Set this to 1 if powerline fonts are installed.
67 let g:airline_powerline_fonts = 0
68 set timeoutlen=1000
69 let g:airline#extensions#tabline#enabled = 1
70 let g:airline#extensions#tabline#fnamemod = ':t'
71
72 " Setting wildignore
73 set wildignore+=venv
74 set wildignore+=.git,.hg.svn
75
76 " CtrlP
77 let g:ctrlp_working_path_mode = 'r'
78
79 " Editorconfig
80 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
81
82 " latex-box
83 let g:LatexBox_quickfix = 4
84
85 " clang fix
86 let g:clang_user_options='|| exit0'
87
88 " Color 80th column
89 highlight ColorColumn ctermbg=1
90 set colorcolumn=80
91
92 " Octave Syntax
93 " augroup filetypedetect
94 "   au! BufRead,BufNewFile *.m,*.oct set filetype=octave
95 " augroup END