Repository navigation
Expand file tree
/
Copy pathvimrc
More file actions
51 lines (45 loc) · 1.35 KB
/
Copy pathvimrc
File metadata and controls
51 lines (45 loc) · 1.35 KB
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
set nocompatible
let g:bundle_path = '~/.vim/bundle'
call plug#begin(bundle_path)
Plug 'lervag/vimtex'
Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim'
Plug 'tpope/vim-fugitive'
Plug 'itchyny/lightline.vim'
Plug 'sirver/ultisnips'
Plug 'altercation/vim-colors-solarized'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'tpope/vim-surround'
Plug 'spinks/vim-leader-guide'
Plug 'scrooloose/nerdcommenter'
Plug 'godlygeek/tabular'
Plug 'Konfekt/FastFold'
Plug 'dylanaraps/wal.vim'
Plug 'tmhedberg/SimpylFold'
Plug 'junegunn/rainbow_parentheses.vim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-lua/plenary.nvim'
Plug 'JuliaEditorSupport/julia-vim'
Plug 'ibhagwan/fzf-lua'
call plug#end()
let g:config_root = fnamemodify(resolve(expand('<sfile>:p')), ':h')
let g:config_file_list = [
\'options.vim',
\'autocommands.vim',
\'ui.vim',
\'keys.vim'
\]
for s:fname in g:config_file_list
execute printf('source %s/core/%s', g:config_root, s:fname)
endfor
let g:config_plugin_list = [
\'coc.vim',
\'vimtex.vim',
\'goyo.vim',
\'ultisnips.vim',
\'rainbowparentheses.vim',
\'nerdcommenter.vim'
\]
for s:fname in g:config_plugin_list
execute printf('source %s/config/%s', g:config_root, s:fname)
endfor