Skip to content

Commit fa81165

Browse files
committed
vimrc
1 parent f3e4da1 commit fa81165

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

common-program-vimrc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ set expandtab
1111
" 打开插件
1212
filetype plugin indent on
1313

14+
" for SQL
15+
" Bundle 'dbext.vim'
16+
1417
" 根据文件类型设置缩进格式
1518
au FileType html,javascript setl shiftwidth=2
1619
au FileType html,javascript setl tabstop=2
@@ -22,28 +25,24 @@ Bundle 'https://github.com/Raimondi/delimitMate.git'
2225

2326
" 自动补齐
2427
if has("ctag")
28+
Bundle 'taglist.vim'
2529
if filereadable("tags")
2630
set tags=tags
27-
Bundle 'taglist.vim'
2831
endif
2932
endif
3033

3134
if has("cscope")
35+
Bundle 'https://github.com/vim-scripts/cscope.vim'
3236
set csprg=/usr/bin/cscope
3337
set csto=1
3438
set cst
3539
set nocsverb
3640
if filereadable("cscope.out")
3741
cs add cscope.out
38-
Bundle 'https://github.com/vim-scripts/cscope.vim'
3942
endif
4043
set csverb
4144
endif
4245

4346
" 程序解析边栏
4447
Bundle 'Tagbar'
4548
nmap <F8> :TagbarToggle<CR>
46-
47-
48-
49-

python-vimrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" python
2+
Bundle 'Pydiction'
23
Bundle 'python.vim'
34
" Bundle 'python_fold'
45
" pep8 语法检查
56
Bundle 'nvie/vim-flake8'
67

8+
let g:pydiction_location = '~/.vim/bundle/Pydiction/complete-dict'
79

810

911
" python 自动补齐

scala-vimrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
Bundle 'derekwyatt/vim-scala'
2-
au FileType scala set syntax=scala
3-
set syntax=scala

vimrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,13 @@ colorscheme desert
4444
set rtp+=~/.vim/bundle/vundle/
4545
call vundle#rc()
4646

47+
execute pathogen#infect()
48+
4749
" let Vundle manage Vundle
4850
" required!
4951
Bundle 'gmarik/vundle'
52+
Bundle 'pathogen.vim'
53+
5054

5155
" N3xt Bundles
5256
Bundle 'mattn/webapi-vim'

0 commit comments

Comments
 (0)