@@ -8,17 +8,20 @@ if has('vim_starting')
8
8
endif
9
9
call neobundle#rc (expand (' ~/.vim/bundle/' ))
10
10
11
- NeoBundle ' git://github.com/Shougo/clang_complete.git'
12
- NeoBundle ' git://github.com/Shougo/echodoc.git'
13
- NeoBundle ' git://github.com/Shougo/neocomplcache.git'
14
- NeoBundle ' git://github.com/Shougo/neobundle.vim.git'
15
- NeoBundle ' git://github.com/Shougo/unite.vim.git'
16
- NeoBundle ' git://github.com/Shougo/vim-vcs.git'
17
- NeoBundle ' git://github.com/Shougo/vimfiler.git'
18
- NeoBundle ' git://github.com/Shougo/vimshell.git'
19
- NeoBundle ' git://github.com/Shougo/vinarise.git'
11
+ " NeoBundle 'Shougo/clang_complete.git'
12
+ NeoBundle ' Shougo/echodoc.git'
13
+ NeoBundle ' Shougo/neocomplcache.git'
14
+ NeoBundle ' Shougo/neosnippet.git'
15
+ NeoBundle ' Shougo/neocomplcache-snippets-complete'
16
+ NeoBundle ' Shougo/neobundle.vim.git'
17
+ NeoBundle ' Shougo/unite.vim.git'
18
+ NeoBundle ' Shougo/vim-vcs.git'
19
+ NeoBundle ' Shougo/vimfiler.git'
20
+ NeoBundle ' Shougo/vimshell.git'
21
+ NeoBundle ' Shougo/vinarise.git'
20
22
NeoBundle ' git://github.com/h1mesuke/unite-outline.git'
21
23
24
+
22
25
" """""" vim-scripts repos
23
26
" プロジェクトのツリー表示
24
27
NeoBundle ' vim-scripts/project.tar.gz'
@@ -63,6 +66,7 @@ set incsearch "インクリメンタルサーチ
63
66
set tabstop = 2 " タブの表示を2に
64
67
set ts = 2 " タブのスペースを2に
65
68
set showmatch " 対応する括弧を表示する
69
+ set expandtab
66
70
67
71
" -----編集-----
68
72
" insert抜けるとIMEオフ
@@ -93,7 +97,24 @@ let g:neocomplcache_enable_at_startup = 1
93
97
let g: neocomplcache_max_list = 30
94
98
let g: neocomplcache_auto_completion_start_length = 2
95
99
let g: neocomplcache_enable_underbar_completion = 1
96
- imap <expr> <TAB> neocomplcache#sources#snippets_complete#expandable() ? "\<Plug> (neocomplcache_snippets_expand)" : pumvisible() ? "\<C-n> " : "\<TAB> "
100
+ " SuperTab like snippets behavior.
101
+ imap <expr> <TAB> neosnippet#expandable_or_jumpable() ?
102
+ \ "\<Plug> (neosnippet_expand_or_jump)"
103
+ \ : pumvisible() ? "\<C-n> " : "\<TAB> "
104
+ smap <expr> <TAB> neosnippet#expandable_or_jumpable() ?
105
+ \ "\<Plug> (neosnippet_expand_or_jump)"
106
+ \ : "\<TAB> "
107
+
108
+ " For snippet_complete marker.
109
+ if has (' conceal' )
110
+ set conceallevel= 2 concealcursor= i
111
+ endif
112
+
113
+ " Enable snipMate compatibility feature.
114
+ let g: neosnippet #enable_snipmate_compatibility = 1
115
+
116
+ " Tell Neosnippet about the other snippets
117
+ let g: neocomplcache_snippets_dir= ' ~/.vim/bundle/vim-snippets/snippets'
97
118
98
119
NeoBundle ' neco-look'
99
120
NeoBundle ' ujihisa/shadow.vim'
0 commit comments