/
vimrc
86 lines (66 loc) · 1.96 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
set nocompatible
filetype off
set runtimepath+=$HOME/vimfiles/bundle/Vundle.vim/
let $PYTHONHOME="/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6"
let $PYTHONPATH="/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/bin"
call vundle#begin('$HOME/vimfiles/bundle')
Plugin 'gmarik/Vundle.vim'
Plugin 'L9'
Plugin 'vim-scripts/a.vim'
Plugin 'zrong/fencview.vim'
Plugin 'asins/vimcdoc'
Plugin 'scrooloose/vim-statline'
" Program language support
Plugin 'leafgarland/typescript-vim'
" File Tool
Plugin 'wannesm/wmgraphviz.vim'
" Search
Plugin 'dkprice/vim-easygrep'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'easymotion/vim-easymotion'
" IDE Tools
Plugin 'jlanzarotta/bufexplorer'
Plugin 'majutsushi/tagbar'
Plugin 'scrooloose/nerdtree'
" Editor
Plugin 'vimwiki/vimwiki'
Plugin 'mattn/emmet-vim'
" Coding common
Plugin 'scrooloose/nerdcommenter'
Plugin 'Raimondi/delimitMate'
" Plugin 'Valloric/YouCompleteMe'
Plugin 'SirVer/ultisnips'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'vim-scripts/loremipsum'
" Coding Python
Plugin 'nvie/vim-flake8'
" Coding Web Front
Plugin 'pangloss/vim-javascript'
Plugin 'hail2u/vim-css3-syntax'
Plugin 'groenewege/vim-less'
Plugin 'marijnh/tern_for_vim'
Plugin 'elzr/vim-json'
" ==================== No use start
" toooooo slowly
" Plugin 'davidhalter/jedi-vim'
" Garbled in chinese, need patch the font.
" Plugin 'powerline/powerline', {'rtp':'powerline/bindings/vim/'}
" ==================== No use end
call vundle#end()
filetype plugin indent on
colorscheme desert
source $VIMRUNTIME/vimrc_example.vim
if has('win32')
source $VIMRUNTIME/mswin.vim
endif
source $HOME/vimfiles/config/option.vim
source $HOME/vimfiles/config/font.vim
source $HOME/vimfiles/config/function.vim
source $HOME/vimfiles/config/plugin_option.vim
cd $HOME
if has("autocmd") && exists("+omnifunc")
autocmd! Filetype *
\ if &omnifunc == "" |
\ setlocal omnifunc=syntaxcomplete#Complete |
\ endif
endif