]> git.friedersdorff.com Git - max/dotfiles.git/blob - vim/.vimrc
Return to a solarized ish colorscheme
[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 'altercation/vim-colors-solarized'
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 background=dark
41 colorscheme solarized
42 set expandtab
43 set shiftwidth=2
44 set softtabstop=2
45 set number
46 set t_Co=16
47
48 let g:html_indent_inctags = "html,body,head,tbody"
49 let g:indentLine_color_term = 200
50
51 " syntastic
52 set statusline+=%#warningmsg#
53 set statusline+=%{SyntasticStatuslineFlag()}
54 set statusline+=%*
55
56 let g:syntastic_always_populate_loc_list = 1
57 let g:syntastic_auto_loc_list = 2
58 let g:syntastic_check_on_open = 0
59 let g:syntastic_check_on_wq = 1
60 let g:syntastic_javascript_checkers = ['eslint']
61 let g:syntastic_python_python_exec = '/usr/bin/python3'
62 let g:syntastic_python_checkers = ['flake8']
63
64 " Syntastic C++11
65 let g:syntastic_cpp_compiler = 'g++'
66 let g:syntastic_cpp_compiler_options = '-std=c++11'
67
68 set laststatus=2
69 " Set this to 1 if powerline fonts are installed.
70 let g:airline_powerline_fonts = 0
71 set timeoutlen=1000
72 let g:airline#extensions#tabline#enabled = 1
73 let g:airline#extensions#tabline#fnamemod = ':t'
74
75 " Setting wildignore
76 set wildignore+=venv
77 set wildignore+=.git,.hg.svn
78
79 " CtrlP
80 let g:ctrlp_working_path_mode = 'r'
81
82 " Editorconfig
83 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
84
85 " latex-box
86 let g:LatexBox_quickfix = 4
87
88 " clang fix
89 let g:clang_user_options='|| exit0'
90
91 " Color 80th column
92 highlight ColorColumn ctermbg=0
93 set colorcolumn=80
94
95 " Octave Syntax
96 " augroup filetypedetect
97 "   au! BufRead,BufNewFile *.m,*.oct set filetype=octave
98 " augroup END