summaryrefslogtreecommitdiff
path: root/vimrc
blob: 2c67ea5f6e2524b464aad94a340a5a2f036d6173 (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
" colors
set background=dark
colorscheme default-cterm

match ErrorMsg '\s\+$'

set foldmethod=syntax
set nocompatible " allow backspacing over everything in insert mode

filetype plugin indent on
syntax on

set list
set listchars=tab:\|\ " show hard tabs
set tabstop=2 softtabstop=0 expandtab shiftwidth=2 smarttab " tab settings

let g:airline_powerline_fonts = 0
let g:airline_theme="term"

" latex settings
let g:tex_flavor = 'latex'
let g:vimtex_view_method = 'zathura'
let g:vimtex_compiler_latexmk = {
    \ 'options' : [
    \   '-pdf',
    \   '-shell-escape',
    \   '-verbose',
    \   '-file-line-error',
    \   '-synctex=1',
    \   '-interaction=nonstopmode'
    \ ],
    \}