forked from harlanhaskins/harlan-vimrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
62 lines (47 loc) · 1.02 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
" Fix shell
set shell=/bin/bash
" make it read the bash aliases
set shellcmdflag=-ic
" Not compatible with Vi
set nocompatible
" Vundle
source ~/.vimrc_vundle
" Bundles
source ~/.vimrc_bundles
" Enable mouse
"set mouse=a
" Relative line numbers
"set rnu
"set nu
" Fix backspace
set backspace=indent,eol,start
" Ignore case on searches, by default
set ic
" Colors
set t_Co=256
let g:CSApprox_attr_map = { 'bold' : 'bold', 'italic' : '', 'sp' : '' }
" python3, by default for syntax checking
let g:syntastic_python_python_exe = 'python3'
colorscheme distinguished
if has("gui")
au GUIEnter * colorscheme obsidian
endif
syntax on
" Powerline
set laststatus=2
" Ruler
" set colorcolumn=80
" latex rendering in the background with LatexBox
let g:LatexBox_latexmk_async=1
let g:LatexBox_latexmk_preview_continuously=1
" Tabs
set tabstop=8
set shiftwidth=4
set softtabstop=4
set smarttab
set expandtab
let g:indentLine_char = '|'
let g:indentLine_color_term = 128
"set list lcs=tab:\|\
set cursorline
set spell spelllang=en_us