summaryrefslogtreecommitdiff
path: root/.vim/vimrc
blob: 0db9545a1e448a0766a5aa772cab5fd7526bfc86 (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
45
46
47
48
49
50
" 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 'LucHermitte/lh-vim-lib'
Plugin 'LucHermitte/local_vimrc'
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/*
set wildignore+=*.so,*.swp,*.zip,*/vendor/*,*/node_modules/*

" Set viminfo path according to XDG Base Directory specification
set viminfo+=n~/.cache/vim/viminfo