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