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