This repository has been archived by the owner on Feb 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
init.vim
54 lines (41 loc) · 1.49 KB
/
init.vim
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
set shell=bash " fish is not POSIX compatible
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set showcmd " Show partial commands
set number " Show line numbers
set hlsearch " Highlight search results
set incsearch " Immediately show matches
set ignorecase " Case insensitive searching
set smartcase " Case sensitive searching when pattern includes upper case characters
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
autocmd FileType tex setlocal spell spelllang=de_de
" Set up :make to use fish for syntax checking.
autocmd FileType fish compiler fish
" Set this to have long lines wrap inside comments.
autocmd FileType fish setlocal textwidth=79
" Enable folding of block structures in fish.
autocmd FileType fish setlocal foldmethod=expr
filetype plugin indent on
syntax on
call plug#begin('$XDG_CONFIG_HOME/nvim/plugged')
Plug 'tpope/vim-sensible'
Plug 'scrooloose/syntastic'
Plug 'lervag/vimtex'
Plug 'dart-lang/dart-vim-plugin'
Plug 'editorconfig/editorconfig-vim'
Plug 'dag/vim-fish'
" Install YouCompleteMe with JavaScript support
if v:version > 703
Plug 'Valloric/YouCompleteMe', { 'do': 'python2 ./install.py --tern-completer' }
endif
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
call plug#end()