Added deosnippets
This commit is contained in:
parent
e095331801
commit
f26617923f
9
init.vim
9
init.vim
@ -7,6 +7,8 @@ Plug 'vim-airline/vim-airline-themes'
|
|||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'Shougo/neosnippet.vim'
|
||||||
|
Plug 'honza/vim-snippets'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
" =============Settings==================
|
" =============Settings==================
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
@ -67,3 +69,10 @@ let g:python_host_prog="f:\\Tools\\Python27\\python.exe"
|
|||||||
|
|
||||||
" =========================Deoplete====================
|
" =========================Deoplete====================
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
" =========================neosnippet==================
|
||||||
|
" " Enable snipMate compatibility feature.
|
||||||
|
let g:neosnippet#enable_snipmate_compatibility = 1
|
||||||
|
" Tell Neosnippet about the other snippets
|
||||||
|
let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets'
|
||||||
|
imap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
|
smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user