-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.vimrc
More file actions
109 lines (94 loc) · 2.6 KB
/
bundle.vimrc
File metadata and controls
109 lines (94 loc) · 2.6 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
":========================
"vundle
"==========================
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
"Plugin 'pathogen.vim'
Plugin 'majutsushi/tagbar'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/nerdcommenter'
"Plugin 'ctrlp.vim'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'Shougo/unite.vim'
"Plugin 'bufexplorer.zip'
Plugin 'dracula/vim'
Plugin 'Shougo/unite-outline'
Plugin 'tsukkee/unite-tag'
Plugin 'tsukkee/unite-help'
Plugin 'ujihisa/unite-launch'
Plugin 'ujihisa/unite-colorscheme'
Plugin 'Shougo/denite.nvim'
Plugin 'altercation/vim-colors-solarized'
Plugin 'mhinz/vim-startify'
"Plugin 'ryanoasis/vim-devicons'
call vundle#end()
filetype plugin indent on
"execute pathogen#infect()
"========================
"tarbar
"========================
"nmap <Leader>tb :TagbarToggle<CR>
let g:tagbar_ctags_bin='ctags'
let g:tagbar_width=20
let g:tagbar_right=1
map <F3> :Tagbar<CR>
"========================
"airline
"========================
let g:airline#extensions#tabline#enabled = 1
"let g:airline_powerline_fonts = 1
"=======================
"NERDTree
"=======================
let NERDTreeWinPos='left'
let NERDTreeWinSize=20
map <F2> :NERDTreeToggle<CR>
"=======================
"nerdcommmenter
"=======================
let g:NERDSpaceDelims = 1
let g:NERDCompactSexyComs = 1
let g:NERDDefaultAlign = 'left'
let g:NERDAltDelims_java = 1
let g:NERDCustomDelimiters = { 'c': { 'left': '/**','right': '*/' } }
let g:NERDCommentEmptyLines = 1
let g:NERDTrimTrailingWhitespace = 1
"=======================
"others
"=======================
if has('python3')
silent! python3 1
" Denite
nnoremap <Leader>b :Denite buffer<CR>
nnoremap <Leader>f :Denite outline<CR>
nnoremap <Leader>p :Denite file_rec<CR>
nnoremap <Leader>t :Denite tab<CR>
nnoremap <Leader>g :Denite g<CR>
" Unite
" nnoremap <Leader>b :Unite buffer<CR>
" nnoremap <Leader>f :Unite outline<CR>
" nnoremap <Leader>p :Unite file_rec<CR>
" nnoremap <Leader>t :Unite tab<CR>
" nnoremap <Leader>g :Unite g<CR>
else
nnoremap <Leader>b :Unite buffer<CR>
nnoremap <Leader>f :Unite outline<CR>
nnoremap <Leader>p :Unite file_rec<CR>
nnoremap <Leader>t :Unite tab<CR>
nnoremap <Leader>g :Unite g<CR>
endif
if has('gui_running')
"autocmd VimEnter * NERDTree
"autocmd VimEnter * Tagbar
color dracula
"set guifont=simsun
"set guifont=DroidSansMono\ Nerd\ Font\ 11
:map <C-s> :w<CR>
else
"vim
endif