/
plugins.vim
72 lines (62 loc) · 2.26 KB
/
plugins.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"============================================================[ Jetpack ]============================================================"
let s:jetpackdir = t:XDG_DATA_HOME .. '/vim'
let s:jetpackfile = s:jetpackdir .. '/pack/jetpack/opt/vim-jetpack/plugin/jetpack.vim'
let s:jetpackurl = 'https://raw.githubusercontent.com/tani/vim-jetpack/master/plugin/jetpack.vim'
if !filereadable(s:jetpackfile)
call system(printf('curl -fsSLo %s --create-dirs %s', s:jetpackfile, s:jetpackurl))
endif
execute 'source' s:jetpackfile
call jetpack#begin(s:jetpackdir)
Jetpack '5ouma/vim-colors-pencil'
Jetpack 'airblade/vim-gitgutter'
Jetpack 'bronson/vim-trailing-whitespace'
Jetpack 'cohama/lexima.vim'
Jetpack 'dstein64/vim-startuptime'
Jetpack 'itchyny/lightline.vim'
Jetpack 'junegunn/fzf'
Jetpack 'junegunn/fzf.vim'
Jetpack 'mattn/vim-lsp-settings'
Jetpack 'matze/vim-move'
Jetpack 'obcat/vim-hitspop'
Jetpack 'pechorin/any-jump.vim'
Jetpack 'prabirshrestha/asyncomplete-lsp.vim'
Jetpack 'prabirshrestha/asyncomplete.vim'
Jetpack 'prabirshrestha/vim-lsp'
Jetpack 'preservim/nerdtree'
Jetpack 'ryanoasis/vim-devicons'
Jetpack 'tani/vim-jetpack'
Jetpack 'tpope/vim-commentary'
Jetpack 'tpope/vim-fugitive'
Jetpack 'tpope/vim-surround'
Jetpack 'vim-autoformat/vim-autoformat'
Jetpack 'vim-scripts/vim-auto-save'
Jetpack 'vimpostor/vim-lumen'
silent! call jetpack#end()
"============================================================[ Settings ]============================================================"
" any-jump
let g:any_jump_list_numbers = 1
let g:any_jump_grouping_enabled = 1
" AutoSave
let g:auto_save = 1
let g:auto_save_in_insert_mode = 0
let g:auto_save_silent = 1
" autoformat
autocmd BufWrite * :Autoformat
" lightline.vim
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ], [ 'gitbranch', 'readonly', 'filename', 'modified' ] ],
\ 'right': [ [ 'lineinfo' ], [ 'percent' ], [ 'filetype' ] ]
\ },
\ 'component_function': { 'gitbranch': 'FugitiveHead' },
\ }
" NERDTree
let NERDTreeShowHidden = 1
let NERDTreeIgnore = ['.git', '.DS_Store']
" Pencil
silent! colorscheme pencil
let g:pencil_gutter_color = 1
" vim-lsp
let g:lsp_diagnostics_signs_error = {'text': '⃠'}
let g:lsp_diagnostics_signs_warning = {'text': '⚠'}