forked from fnoble/dotvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
74 lines (61 loc) · 1.69 KB
/
vimrc
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
" Basic configuration
set nocompatible
set encoding=utf8
set history=1000
set undolevels=1000
set hidden
set nobackup
set nowb
set noswapfile
set autoread
set magic
set wrap linebreak
set visualbell t_vb=
filetype plugin on
set incsearch
set hlsearch
" Tab / indentation settings
set tabstop=2
set shiftwidth=2
set expandtab
set smarttab
set autoindent
set smartindent
filetype indent on
" Basic visual settings
set ruler
set number
set showmatch
set background=dark
colorscheme jellybeans
let &colorcolumn=join(range(81,999),",")
autocmd ColorScheme * highlight ColorColumn ctermbg=235 guibg=#202020
" GUI settings
set guioptions-=T
set guioptions-=l
set guioptions-=b
set gfn=Anonymous\ Pro\ 12
" Nice tab completion on command line
set wildchar=<Tab> wildmenu wildmode=full
" Ack settings for Ubuntu (ack-grep instead of ack)
"let g:ackprg="ack-grep -H --nocolor --nogroup --column"
" To disable a plugin, add it's bundle name to the following list
let g:pathogen_disabled = []
" MBE is hella slow, apparently fixed in 6.5 so try it again after release.
call add(g:pathogen_disabled, 'minibufexpl')
" Pathogen initialisation
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
let g:Tex_DefaultTargetFormat = 'pdf'
let g:Tex_CompileRule_pdf = 'pdflatex -synctex=1 --interaction=nonstopmode $*'
let g:Tex_TreatMacViewerAsUNIX = 1
let g:Tex_ViewRule_pdf = 'open -a Skim'
" Avoid freezing on offending code
"let g:clang_user_options='|| exit 0'
let g:clang_close_preview=1
let g:clang_snippets=1
let g:clang_conceal_snippets=1
" conceal in insert (i), normal (n) and visual (v) modes
set concealcursor=inv
" hide concealed text completely unless replacement character is defined
set conceallevel=2