summaryrefslogtreecommitdiff
path: root/.vim/vimrc
blob: 91025df347bfa825b0bf795b774f14ac0b8d213f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
" Initialize Vundle for plugin management

set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'a.vim'
Plugin 'andreasvc/vim-256noir'
Plugin 'aperezdc/vim-template'
Plugin 'cespare/vim-toml'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'godlygeek/tabular'
Plugin 'OmniSharp/omnisharp-vim'
Plugin 'rodjek/vim-puppet'
Plugin 'rust-lang/rust.vim'
Plugin 'scrooloose/syntastic'
Plugin 'tpope/vim-dispatch'
Plugin 'tpope/vim-fugitive'
call vundle#end()

filetype plugin indent on

runtime! ftplugin/man.vim

" Syntax highlighting
syntax on

" Status line and numbers
set laststatus=2
set number

" Colors
set background=dark

" LaTeX instead of Plain TeX
let g:tex_flavor = "latex"

" Temporary workaround: csproj indicates a project root
let g:ctrlp_root_markers = ['*.csproj']

" Ignore some additional patterns when opening files
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/vendor/*,*/node_modules/*