Disable neosnippet
This commit is contained in:
parent
1c2e0fccc3
commit
d30df125c5
@ -140,22 +140,22 @@ endif
|
|||||||
" neosnippet
|
" neosnippet
|
||||||
" Plugin key-mappings.
|
" Plugin key-mappings.
|
||||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
" imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
" smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
xmap <C-k> <Plug>(neosnippet_expand_target)
|
" xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
||||||
" SuperTab like snippets behavior.
|
" SuperTab like snippets behavior.
|
||||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<c-n>" : "\<tab>"
|
" 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>"
|
" smap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<tab>"
|
||||||
|
|
||||||
" For conceal markers.
|
" For conceal markers.
|
||||||
if has('conceal')
|
" if has('conceal')
|
||||||
set conceallevel=2 concealcursor=niv
|
" set conceallevel=2 concealcursor=niv
|
||||||
endif
|
" endif
|
||||||
" Enable snipMate compatibility feature.
|
" Enable snipMate compatibility feature.
|
||||||
let g:neosnippet#enable_snipmate_compatibility = 1
|
" let g:neosnippet#enable_snipmate_compatibility = 1
|
||||||
let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
" let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
||||||
|
|
||||||
|
|
||||||
" rainbow
|
" rainbow
|
||||||
|
Loading…
Reference in New Issue
Block a user