]> git.friedersdorff.com Git - max/dotfiles.git/blob - vimrc
Update vimrc with latex specific plugins.
[max/dotfiles.git] / 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 'zanloy/vim-colors-sunburst'
15 Plugin 'Lokaltog/vim-distinguished'
16 Plugin 'pangloss/vim-javascript'
17 Plugin 'Yggdroot/indentLine'
18 Plugin 'git@github.com:Raimondi/delimitMate.git'
19 Plugin 'scrooloose/syntastic'
20 Plugin 'Valloric/YouCompleteMe'
21 Plugin 'ternjs/tern_for_vim'
22 Plugin 'git@github.com:docunext/closetag.vim.git'
23 Plugin 'bling/vim-airline'
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
30 " All of your Plugins must be added before the following line
31 call vundle#end()            " required
32 filetype plugin indent on    " required
33
34 " Random look and feel stuff
35 set t_Co=256
36 syntax on
37 set background=dark
38 colorscheme sunburst 
39 set expandtab
40 set shiftwidth=2
41 set softtabstop=2
42 set number
43
44 let g:html_indent_inctags = "html,body,head,tbody"
45 let g:indentLine_color_term = 200
46
47 " syntastic
48 set statusline+=%#warningmsg#
49 set statusline+=%{SyntasticStatuslineFlag()}
50 set statusline+=%*
51
52 let g:syntastic_always_populate_loc_list = 1
53 let g:syntastic_auto_loc_list = 2
54 let g:syntastic_check_on_open = 0
55 let g:syntastic_check_on_wq = 0
56 let g:syntastic_javascript_checkers = ['eslint']
57
58 set laststatus=2
59 " Set this to 1 if powerline fonts are installed.
60 let g:airline_powerline_fonts = 0
61 set timeoutlen=1000
62 let g:airline#extensions#tabline#enabled = 1
63 let g:airline#extensions#tabline#fnamemod = ':t'
64
65 " Setting wildignore
66 set wildignore+=venv
67 set wildignore+=.git,.hg.svn
68
69 " CtrlP
70 let g:ctrlp_working_path_mode = 'r'
71
72 " Editorconfig
73 let g:EditorConfig_exclude_patterns = ['fugitive://.*']
74
75 " Delimit Mate
76 let delimitMate_autoclose = 0
77
78 " latex-box
79 let g:LatexBox_quickfix = 4
80 let g:LatexBox_viewer = "apvlv"
81
82 " clang fix
83 let g:clang_user_options='|| exit0'